rental
31 rows where customer_id = 416
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 |
|---|---|---|---|---|---|---|
| 253 | 2005-05-26 14:43:14.000 | 2969 2969 | 416 416 | 2005-05-27 12:21:14.000 | 1 1 | 2020-12-23 07:15:23 |
| 724 | 2005-05-29 05:53:23.000 | 3770 3770 | 416 416 | 2005-06-05 04:01:23.000 | 2 2 | 2020-12-23 07:15:29 |
| 1031 | 2005-05-31 04:23:01.000 | 917 917 | 416 416 | 2005-06-06 08:35:01.000 | 1 1 | 2020-12-23 07:15:33 |
| 1158 | 2005-06-14 22:53:33.000 | 1632 1632 | 416 416 | 2005-06-18 21:37:33.000 | 2 2 | 2020-12-23 07:15:35 |
| 1343 | 2005-06-15 12:27:19.000 | 2393 2393 | 416 416 | 2005-06-21 16:57:19.000 | 1 1 | 2020-12-23 07:15:37 |
| 1553 | 2005-06-16 02:02:44.000 | 4026 4026 | 416 416 | 2005-06-19 07:50:44.000 | 1 1 | 2020-12-23 07:15:40 |
| 1596 | 2005-06-16 05:30:58.000 | 2552 2552 | 416 416 | 2005-06-21 04:18:58.000 | 2 2 | 2020-12-23 07:15:41 |
| 1771 | 2005-06-16 18:12:17.000 | 1769 1769 | 416 416 | 2005-06-18 16:11:17.000 | 1 1 | 2020-12-23 07:15:43 |
| 3833 | 2005-07-06 16:18:28.000 | 3232 3232 | 416 416 | 2005-07-14 20:09:28.000 | 2 2 | 2020-12-23 07:16:13 |
| 3868 | 2005-07-06 17:54:13.000 | 1606 1606 | 416 416 | 2005-07-10 14:51:13.000 | 1 1 | 2020-12-23 07:16:13 |
| 6097 | 2005-07-11 06:21:43.000 | 297 297 | 416 416 | 2005-07-16 10:04:43.000 | 1 1 | 2020-12-23 07:16:46 |
| 6879 | 2005-07-12 20:37:37.000 | 1901 1901 | 416 416 | 2005-07-20 15:40:37.000 | 2 2 | 2020-12-23 07:16:58 |
| 7889 | 2005-07-28 10:43:21.000 | 3123 3123 | 416 416 | 2005-07-30 09:11:21.000 | 1 1 | 2020-12-23 07:17:13 |
| 7917 | 2005-07-28 11:56:57.000 | 2071 2071 | 416 416 | 2005-07-29 14:06:57.000 | 1 1 | 2020-12-23 07:17:13 |
| 8349 | 2005-07-29 04:50:22.000 | 534 534 | 416 416 | 2005-08-05 08:50:22.000 | 1 1 | 2020-12-23 07:17:20 |
| 8588 | 2005-07-29 12:22:20.000 | 2858 2858 | 416 416 | 2005-07-31 10:49:20.000 | 1 1 | 2020-12-23 07:17:23 |
| 8648 | 2005-07-29 14:56:21.000 | 160 160 | 416 416 | 2005-07-31 16:56:21.000 | 2 2 | 2020-12-23 07:17:24 |
| 9383 | 2005-07-30 19:24:50.000 | 2806 2806 | 416 416 | 2005-08-01 21:41:50.000 | 2 2 | 2020-12-23 07:17:35 |
| 10254 | 2005-08-01 02:42:03.000 | 2238 2238 | 416 416 | 2005-08-05 23:31:03.000 | 1 1 | 2020-12-23 07:17:47 |
| 10354 | 2005-08-01 05:47:10.000 | 1680 1680 | 416 416 | 2005-08-06 09:04:10.000 | 1 1 | 2020-12-23 07:17:49 |
| 10742 | 2005-08-01 19:53:13.000 | 3658 3658 | 416 416 | 2005-08-10 15:05:13.000 | 1 1 | 2020-12-23 07:17:54 |
| 10937 | 2005-08-02 03:00:18.000 | 1320 1320 | 416 416 | 2005-08-11 03:44:18.000 | 2 2 | 2020-12-23 07:17:57 |
| 11047 | 2005-08-02 06:09:20.000 | 2267 2267 | 416 416 | 2005-08-11 08:36:20.000 | 1 1 | 2020-12-23 07:17:58 |
| 11557 | 2005-08-17 01:19:20.000 | 2376 2376 | 416 416 | 2005-08-24 02:25:20.000 | 1 1 | 2020-12-23 07:18:05 |
| 12722 | 2005-08-18 21:33:53.000 | 913 913 | 416 416 | 2005-08-27 23:47:53.000 | 2 2 | 2020-12-23 07:18:21 |
| 12932 | 2005-08-19 05:17:30.000 | 2295 2295 | 416 416 | 2005-08-21 09:24:30.000 | 1 1 | 2020-12-23 07:18:24 |
| 14239 | 2005-08-21 05:18:57.000 | 1559 1559 | 416 416 | 2005-08-22 00:12:57.000 | 2 2 | 2020-12-23 07:18:44 |
| 15235 | 2005-08-22 17:43:12.000 | 2726 2726 | 416 416 | 2005-08-29 23:03:12.000 | 2 2 | 2020-12-23 07:18:58 |
| 15470 | 2005-08-23 01:35:12.000 | 3009 3009 | 416 416 | 2005-09-01 05:33:12.000 | 1 1 | 2020-12-23 07:19:02 |
| 15727 | 2005-08-23 11:28:49.000 | 2184 2184 | 416 416 | 2005-08-24 06:24:49.000 | 2 2 | 2020-12-23 07:19:05 |
| 15761 | 2005-08-23 12:55:51.000 | 4362 4362 | 416 416 | 2005-08-26 16:51:51.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;