rental
29 rows where customer_id = 268
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 |
|---|---|---|---|---|---|---|
| 1394 | 2005-06-15 16:17:21.000 | 2802 2802 | 268 268 | 2005-06-21 20:44:21.000 | 2 2 | 2020-12-23 07:15:38 |
| 1450 | 2005-06-15 19:22:08.000 | 4132 4132 | 268 268 | 2005-06-16 17:53:08.000 | 2 2 | 2020-12-23 07:15:39 |
| 1551 | 2005-06-16 02:01:15.000 | 4088 4088 | 268 268 | 2005-06-22 07:33:15.000 | 1 1 | 2020-12-23 07:15:40 |
| 2133 | 2005-06-17 21:10:05.000 | 932 932 | 268 268 | 2005-06-23 22:41:05.000 | 1 1 | 2020-12-23 07:15:49 |
| 2324 | 2005-06-18 10:00:33.000 | 2987 2987 | 268 268 | 2005-06-23 14:10:33.000 | 1 1 | 2020-12-23 07:15:52 |
| 2858 | 2005-06-19 23:17:11.000 | 2628 2628 | 268 268 | 2005-06-21 19:07:11.000 | 1 1 | 2020-12-23 07:15:59 |
| 3066 | 2005-06-20 13:55:41.000 | 1116 1116 | 268 268 | 2005-06-26 09:38:41.000 | 2 2 | 2020-12-23 07:16:02 |
| 3361 | 2005-06-21 12:14:23.000 | 2671 2671 | 268 268 | 2005-06-26 10:01:23.000 | 2 2 | 2020-12-23 07:16:06 |
| 3670 | 2005-07-06 08:56:43.000 | 4271 4271 | 268 268 | 2005-07-11 09:11:43.000 | 1 1 | 2020-12-23 07:16:10 |
| 4626 | 2005-07-08 08:18:21.000 | 37 37 | 268 268 | 2005-07-10 11:36:21.000 | 1 1 | 2020-12-23 07:16:25 |
| 5039 | 2005-07-09 03:14:45.000 | 2020 2020 | 268 268 | 2005-07-16 06:57:45.000 | 2 2 | 2020-12-23 07:16:31 |
| 5671 | 2005-07-10 08:18:22.000 | 1304 1304 | 268 268 | 2005-07-11 07:03:22.000 | 2 2 | 2020-12-23 07:16:40 |
| 5793 | 2005-07-10 14:33:00.000 | 2927 2927 | 268 268 | 2005-07-13 19:27:00.000 | 1 1 | 2020-12-23 07:16:42 |
| 5888 | 2005-07-10 19:52:17.000 | 1620 1620 | 268 268 | 2005-07-18 20:32:17.000 | 2 2 | 2020-12-23 07:16:44 |
| 6120 | 2005-07-11 07:49:53.000 | 3299 3299 | 268 268 | 2005-07-19 04:56:53.000 | 2 2 | 2020-12-23 07:16:47 |
| 6489 | 2005-07-12 02:22:46.000 | 1821 1821 | 268 268 | 2005-07-17 06:16:46.000 | 2 2 | 2020-12-23 07:16:52 |
| 8931 | 2005-07-30 02:30:07.000 | 16 16 | 268 268 | 2005-08-02 08:24:07.000 | 2 2 | 2020-12-23 07:17:28 |
| 9436 | 2005-07-30 21:33:01.000 | 2329 2329 | 268 268 | 2005-08-06 17:38:01.000 | 1 1 | 2020-12-23 07:17:36 |
| 9531 | 2005-07-31 01:11:53.000 | 4550 4550 | 268 268 | 2005-08-07 02:49:53.000 | 1 1 | 2020-12-23 07:17:37 |
| 10040 | 2005-07-31 18:54:15.000 | 2281 2281 | 268 268 | 2005-08-05 17:33:15.000 | 2 2 | 2020-12-23 07:17:44 |
| 11462 | 2005-08-02 21:36:46.000 | 167 167 | 268 268 | 2005-08-10 01:48:46.000 | 1 1 | 2020-12-23 07:18:04 |
| 11828 | 2005-08-17 12:48:28.000 | 2593 2593 | 268 268 | 2005-08-24 09:24:28.000 | 2 2 | 2020-12-23 07:18:09 |
| 12007 | 2005-08-17 19:10:34.000 | 3007 3007 | 268 268 | 2005-08-24 14:09:34.000 | 1 1 | 2020-12-23 07:18:11 |
| 12694 | 2005-08-18 20:10:39.000 | 1741 1741 | 268 268 | 2005-08-25 20:47:39.000 | 1 1 | 2020-12-23 07:18:21 |
| 13880 | 2005-08-20 15:18:20.000 | 3911 3911 | 268 268 | 2005-08-24 18:03:20.000 | 2 2 | 2020-12-23 07:18:39 |
| 14249 | 2005-08-21 05:38:05.000 | 695 695 | 268 268 | 2005-08-28 09:07:05.000 | 2 2 | 2020-12-23 07:18:44 |
| 14373 | 2005-08-21 09:44:53.000 | 4433 4433 | 268 268 | 2005-08-25 15:37:53.000 | 1 1 | 2020-12-23 07:18:46 |
| 14874 | 2005-08-22 03:32:05.000 | 1782 1782 | 268 268 | 2005-08-24 07:02:05.000 | 2 2 | 2020-12-23 07:18:53 |
| 15183 | 2005-08-22 15:49:54.000 | 2696 2696 | 268 268 | 2005-08-25 12:29:54.000 | 1 1 | 2020-12-23 07:18:57 |
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) ;