rental
29 rows where customer_id = 565
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 |
|---|---|---|---|---|---|---|
| 458 | 2005-05-27 19:58:36.000 | 3350 3350 | 565 565 | 2005-06-06 00:51:36.000 | 1 1 | 2020-12-23 07:15:26 |
| 1004 | 2005-05-31 00:48:36.000 | 1588 1588 | 565 565 | 2005-06-01 20:56:36.000 | 1 1 | 2020-12-23 07:15:33 |
| 1460 | 2005-06-15 20:27:02.000 | 1405 1405 | 565 565 | 2005-06-16 16:21:02.000 | 1 1 | 2020-12-23 07:15:39 |
| 2321 | 2005-06-18 09:42:42.000 | 1160 1160 | 565 565 | 2005-06-25 14:28:42.000 | 1 1 | 2020-12-23 07:15:52 |
| 3300 | 2005-06-21 07:25:01.000 | 2505 2505 | 565 565 | 2005-06-25 01:47:01.000 | 1 1 | 2020-12-23 07:16:05 |
| 3470 | 2005-07-05 22:49:24.000 | 883 883 | 565 565 | 2005-07-07 19:36:24.000 | 1 1 | 2020-12-23 07:16:07 |
| 3838 | 2005-07-06 16:29:43.000 | 3404 3404 | 565 565 | 2005-07-11 20:50:43.000 | 1 1 | 2020-12-23 07:16:13 |
| 4413 | 2005-07-07 22:00:04.000 | 1062 1062 | 565 565 | 2005-07-10 18:20:04.000 | 2 2 | 2020-12-23 07:16:22 |
| 5020 | 2005-07-09 02:07:56.000 | 4113 4113 | 565 565 | 2005-07-09 23:59:56.000 | 1 1 | 2020-12-23 07:16:31 |
| 5124 | 2005-07-09 07:25:19.000 | 1857 1857 | 565 565 | 2005-07-15 01:51:19.000 | 1 1 | 2020-12-23 07:16:32 |
| 6264 | 2005-07-11 15:42:35.000 | 4246 4246 | 565 565 | 2005-07-12 11:29:35.000 | 2 2 | 2020-12-23 07:16:49 |
| 6627 | 2005-07-12 09:16:46.000 | 626 626 | 565 565 | 2005-07-17 10:58:46.000 | 1 1 | 2020-12-23 07:16:54 |
| 6699 | 2005-07-12 12:45:21.000 | 3411 3411 | 565 565 | 2005-07-15 12:59:21.000 | 1 1 | 2020-12-23 07:16:55 |
| 7242 | 2005-07-27 10:25:51.000 | 1966 1966 | 565 565 | 2005-08-04 16:02:51.000 | 2 2 | 2020-12-23 07:17:03 |
| 9628 | 2005-07-31 04:51:11.000 | 1387 1387 | 565 565 | 2005-07-31 23:11:11.000 | 2 2 | 2020-12-23 07:17:38 |
| 10025 | 2005-07-31 18:29:09.000 | 475 475 | 565 565 | 2005-08-07 14:20:09.000 | 2 2 | 2020-12-23 07:17:44 |
| 10776 | 2005-08-01 20:59:58.000 | 1598 1598 | 565 565 | 2005-08-10 20:33:58.000 | 2 2 | 2020-12-23 07:17:55 |
| 10913 | 2005-08-02 02:04:03.000 | 3388 3388 | 565 565 | 2005-08-09 03:21:03.000 | 1 1 | 2020-12-23 07:17:56 |
| 11189 | 2005-08-02 11:17:23.000 | 729 729 | 565 565 | 2005-08-09 16:30:23.000 | 2 2 | 2020-12-23 07:18:00 |
| 11399 | 2005-08-02 18:56:28.000 | 2094 2094 | 565 565 | 2005-08-11 23:19:28.000 | 1 1 | 2020-12-23 07:18:03 |
| 11506 | 2005-08-16 23:25:48.000 | 1529 1529 | 565 565 | 2005-08-22 18:17:48.000 | 1 1 | 2020-12-23 07:18:05 |
| 11588 | 2005-08-17 02:26:23.000 | 2480 2480 | 565 565 | 2005-08-22 02:32:23.000 | 1 1 | 2020-12-23 07:18:06 |
| 11795 | 2005-08-17 11:13:38.000 | 2220 2220 | 565 565 | 2005-08-19 14:20:38.000 | 2 2 | 2020-12-23 07:18:09 |
| 12743 | 2005-08-18 22:22:31.000 | 2630 2630 | 565 565 | 2005-08-27 00:31:31.000 | 1 1 | 2020-12-23 07:18:21 |
| 13195 | 2005-08-19 14:39:14.000 | 2537 2537 | 565 565 | 2005-08-24 10:30:14.000 | 2 2 | 2020-12-23 07:18:28 |
| 13217 | 2005-08-19 15:38:39.000 | 616 616 | 565 565 | 2005-08-21 14:33:39.000 | 1 1 | 2020-12-23 07:18:28 |
| 13362 | 2005-08-19 21:07:54.000 | 869 869 | 565 565 | 2005-08-20 17:29:54.000 | 2 2 | 2020-12-23 07:18:31 |
| 13925 | 2005-08-20 17:05:34.000 | 4034 4034 | 565 565 | 2005-08-27 15:32:34.000 | 2 2 | 2020-12-23 07:18:39 |
| 15885 | 2005-08-23 16:50:43.000 | 2116 2116 | 565 565 | 2005-08-29 20:19:43.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) ;