rental
32 rows where customer_id = 128
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 888 | 2005-05-30 07:13:14.000 | 387 387 | 128 128 | 2005-06-06 09:50:14.000 | 1 1 | 2020-12-23 07:15:32 |
| 1131 | 2005-05-31 18:44:19.000 | 2654 2654 | 128 128 | 2005-06-01 20:13:19.000 | 1 1 | 2020-12-23 07:15:35 |
| 2519 | 2005-06-19 00:19:21.000 | 1172 1172 | 128 128 | 2005-06-25 01:46:21.000 | 1 1 | 2020-12-23 07:15:54 |
| 2565 | 2005-06-19 03:44:03.000 | 2347 2347 | 128 128 | 2005-06-24 01:26:03.000 | 2 2 | 2020-12-23 07:15:55 |
| 3751 | 2005-07-06 12:23:41.000 | 3652 3652 | 128 128 | 2005-07-10 06:58:41.000 | 1 1 | 2020-12-23 07:16:12 |
| 3995 | 2005-07-06 23:43:03.000 | 3990 3990 | 128 128 | 2005-07-13 04:13:03.000 | 2 2 | 2020-12-23 07:16:15 |
| 5270 | 2005-07-09 14:23:46.000 | 1523 1523 | 128 128 | 2005-07-13 15:04:46.000 | 1 1 | 2020-12-23 07:16:34 |
| 5647 | 2005-07-10 07:08:40.000 | 1466 1466 | 128 128 | 2005-07-13 05:19:40.000 | 2 2 | 2020-12-23 07:16:40 |
| 5997 | 2005-07-11 01:19:50.000 | 3542 3542 | 128 128 | 2005-07-16 06:29:50.000 | 1 1 | 2020-12-23 07:16:45 |
| 6186 | 2005-07-11 11:26:41.000 | 2086 2086 | 128 128 | 2005-07-17 12:02:41.000 | 2 2 | 2020-12-23 07:16:47 |
| 6481 | 2005-07-12 01:50:15.000 | 2392 2392 | 128 128 | 2005-07-20 03:03:15.000 | 1 1 | 2020-12-23 07:16:52 |
| 6687 | 2005-07-12 12:19:23.000 | 2736 2736 | 128 128 | 2005-07-19 17:12:23.000 | 1 1 | 2020-12-23 07:16:55 |
| 7582 | 2005-07-27 23:15:14.000 | 3941 3941 | 128 128 | 2005-07-29 03:18:14.000 | 2 2 | 2020-12-23 07:17:08 |
| 8415 | 2005-07-29 06:52:27.000 | 2903 2903 | 128 128 | 2005-08-02 10:40:27.000 | 1 1 | 2020-12-23 07:17:21 |
| 9215 | 2005-07-30 13:11:11.000 | 3591 3591 | 128 128 | 2005-08-06 13:06:11.000 | 1 1 | 2020-12-23 07:17:32 |
| 9234 | 2005-07-30 13:45:54.000 | 1660 1660 | 128 128 | 2005-08-02 15:33:54.000 | 1 1 | 2020-12-23 07:17:33 |
| 9433 | 2005-07-30 21:28:17.000 | 1082 1082 | 128 128 | 2005-08-08 18:20:17.000 | 2 2 | 2020-12-23 07:17:35 |
| 9858 | 2005-07-31 13:02:07.000 | 252 252 | 128 128 | 2005-08-03 15:14:07.000 | 2 2 | 2020-12-23 07:17:42 |
| 9952 | 2005-07-31 15:52:37.000 | 1634 1634 | 128 128 | 2005-08-06 10:50:37.000 | 2 2 | 2020-12-23 07:17:43 |
| 10011 | 2005-07-31 18:02:41.000 | 606 606 | 128 128 | 2005-08-08 17:04:41.000 | 1 1 | 2020-12-23 07:17:44 |
| 10394 | 2005-08-01 06:58:17.000 | 1655 1655 | 128 128 | 2005-08-05 02:09:17.000 | 1 1 | 2020-12-23 07:17:49 |
| 12731 | 2005-08-18 21:55:38.000 | 1719 1719 | 128 128 | 2005-08-23 20:30:38.000 | 1 1 | 2020-12-23 07:18:21 |
| 12843 | 2005-08-19 01:58:54.000 | 3279 3279 | 128 128 | 2005-08-20 00:20:54.000 | 2 2 | 2020-12-23 07:18:23 |
| 12910 | 2005-08-19 04:23:13.000 | 3968 3968 | 128 128 | 2005-08-20 22:27:13.000 | 1 1 | 2020-12-23 07:18:24 |
| 13027 | 2005-08-19 08:25:16.000 | 3756 3756 | 128 128 | 2005-08-25 13:42:16.000 | 1 1 | 2020-12-23 07:18:26 |
| 13181 | 2005-08-19 14:00:56.000 | 1256 1256 | 128 128 | 2005-08-24 13:52:56.000 | 2 2 | 2020-12-23 07:18:28 |
| 13509 | 2005-08-20 02:14:16.000 | 3698 3698 | 128 128 | 2005-08-22 06:36:16.000 | 2 2 | 2020-12-23 07:18:33 |
| 13964 | 2005-08-20 18:24:26.000 | 108 108 | 128 128 | 2005-08-21 21:19:26.000 | 2 2 | 2020-12-23 07:18:40 |
| 14157 | 2005-08-21 02:43:15.000 | 4471 4471 | 128 128 | 2005-08-24 02:47:15.000 | 1 1 | 2020-12-23 07:18:43 |
| 14925 | 2005-08-22 05:16:16.000 | 442 442 | 128 128 | 2005-08-30 02:47:16.000 | 2 2 | 2020-12-23 07:18:54 |
| 15220 | 2005-08-22 17:02:23.000 | 187 187 | 128 128 | 2005-08-28 21:02:23.000 | 1 1 | 2020-12-23 07:18:58 |
| 15835 | 2005-08-23 15:25:27.000 | 1362 1362 | 128 128 | 2005-09-01 16:14:27.000 | 2 2 | 2020-12-23 07:19:07 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE rental ( rental_id INT NOT NULL, rental_date TIMESTAMP NOT NULL, inventory_id INT NOT NULL, customer_id INT NOT NULL, return_date TIMESTAMP DEFAULT NULL, staff_id SMALLINT NOT NULL, last_update TIMESTAMP NOT NULL, PRIMARY KEY (rental_id), CONSTRAINT fk_rental_staff FOREIGN KEY (staff_id) REFERENCES staff (staff_id) , CONSTRAINT fk_rental_inventory FOREIGN KEY (inventory_id) REFERENCES inventory (inventory_id) , CONSTRAINT fk_rental_customer FOREIGN KEY (customer_id) REFERENCES customer (customer_id) ); CREATE INDEX idx_rental_fk_inventory_id ON rental(inventory_id) ; CREATE INDEX idx_rental_fk_customer_id ON rental(customer_id) ; CREATE INDEX idx_rental_fk_staff_id ON rental(staff_id) ; CREATE UNIQUE INDEX idx_rental_uq ON rental (rental_date,inventory_id,customer_id) ;