rental
27 rows where customer_id = 561
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, last_update, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 902 | 2005-05-30 09:53:36.000 | 1514 1514 | 561 561 | 2005-06-07 12:10:36.000 | 1 1 | 2020-12-23 07:15:32 |
| 971 | 2005-05-30 20:10:52.000 | 2911 2911 | 561 561 | 2005-06-06 20:47:52.000 | 1 1 | 2020-12-23 07:15:33 |
| 1193 | 2005-06-15 01:24:20.000 | 4504 4504 | 561 561 | 2005-06-21 02:29:20.000 | 2 2 | 2020-12-23 07:15:36 |
| 1505 | 2005-06-15 22:12:50.000 | 2961 2961 | 561 561 | 2005-06-17 21:37:50.000 | 2 2 | 2020-12-23 07:15:40 |
| 1620 | 2005-06-16 07:21:30.000 | 389 389 | 561 561 | 2005-06-17 09:46:30.000 | 1 1 | 2020-12-23 07:15:41 |
| 2119 | 2005-06-17 20:34:42.000 | 2104 2104 | 561 561 | 2005-06-22 00:05:42.000 | 1 1 | 2020-12-23 07:15:48 |
| 2357 | 2005-06-18 12:59:41.000 | 1323 1323 | 561 561 | 2005-06-26 16:40:41.000 | 1 1 | 2020-12-23 07:15:52 |
| 2548 | 2005-06-19 02:45:35.000 | 4292 4292 | 561 561 | 2005-06-22 06:52:35.000 | 2 2 | 2020-12-23 07:15:55 |
| 2950 | 2005-06-20 06:08:36.000 | 1438 1438 | 561 561 | 2005-06-27 07:45:36.000 | 2 2 | 2020-12-23 07:16:00 |
| 3160 | 2005-06-20 21:20:51.000 | 4333 4333 | 561 561 | 2005-06-29 18:06:51.000 | 2 2 | 2020-12-23 07:16:03 |
| 3427 | 2005-06-21 18:31:09.000 | 560 560 | 561 561 | 2005-06-22 14:18:09.000 | 2 2 | 2020-12-23 07:16:07 |
| 6361 | 2005-07-11 21:09:14.000 | 2903 2903 | 561 561 | 2005-07-14 18:26:14.000 | 2 2 | 2020-12-23 07:16:50 |
| 6435 | 2005-07-12 00:16:19.000 | 1957 1957 | 561 561 | 2005-07-17 19:15:19.000 | 1 1 | 2020-12-23 07:16:51 |
| 6621 | 2005-07-12 08:57:30.000 | 2229 2229 | 561 561 | 2005-07-14 09:47:30.000 | 1 1 | 2020-12-23 07:16:54 |
| 6843 | 2005-07-12 19:14:05.000 | 746 746 | 561 561 | 2005-07-20 23:15:05.000 | 1 1 | 2020-12-23 07:16:57 |
| 7698 | 2005-07-28 03:44:14.000 | 3650 3650 | 561 561 | 2005-08-04 03:44:14.000 | 2 2 | 2020-12-23 07:17:10 |
| 8504 | 2005-07-29 09:20:16.000 | 2295 2295 | 561 561 | 2005-08-07 04:27:16.000 | 2 2 | 2020-12-23 07:17:22 |
| 9839 | 2005-07-31 12:21:16.000 | 1591 1591 | 561 561 | 2005-08-09 13:41:16.000 | 2 2 | 2020-12-23 07:17:42 |
| 10317 | 2005-08-01 04:35:34.000 | 110 110 | 561 561 | 2005-08-06 02:27:34.000 | 2 2 | 2020-12-23 07:17:48 |
| 10907 | 2005-08-02 01:51:48.000 | 1430 1430 | 561 561 | 2005-08-02 19:53:48.000 | 1 1 | 2020-12-23 07:17:56 |
| 11371 | 2005-08-02 18:07:36.000 | 324 324 | 561 561 | 2005-08-06 17:52:36.000 | 1 1 | 2020-12-23 07:18:03 |
| 11402 | 2005-08-02 19:07:21.000 | 3291 3291 | 561 561 | 2005-08-07 20:59:21.000 | 1 1 | 2020-12-23 07:18:03 |
| 12441 | 2005-08-18 10:47:57.000 | 2163 2163 | 561 561 | 2005-08-26 07:11:57.000 | 2 2 | 2020-12-23 07:18:17 |
| 14139 | 2005-08-21 02:04:33.000 | 2280 2280 | 561 561 | 2005-08-22 04:16:33.000 | 2 2 | 2020-12-23 07:18:43 |
| 14415 | 2006-02-14 15:16:03.000 | 2670 2670 | 561 561 | 2 2 | 2020-12-23 07:18:47 | |
| 15573 | 2005-08-23 05:28:36.000 | 3133 3133 | 561 561 | 2005-08-27 05:37:36.000 | 2 2 | 2020-12-23 07:19:03 |
| 15946 | 2005-08-23 18:54:07.000 | 4549 4549 | 561 561 | 2005-08-28 21:21:07.000 | 1 1 | 2020-12-23 07:19:08 |
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) ;