rental
27 rows where customer_id = 96
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 |
|---|---|---|---|---|---|---|
| 1266 | 2005-06-15 07:11:39.000 | 2230 2230 | 96 96 | 2005-06-21 02:59:39.000 | 2 2 | 2020-12-23 07:15:37 |
| 1413 | 2005-06-15 17:25:07.000 | 3625 3625 | 96 96 | 2005-06-21 17:17:07.000 | 2 2 | 2020-12-23 07:15:38 |
| 1437 | 2005-06-15 18:37:04.000 | 3263 3263 | 96 96 | 2005-06-20 12:56:04.000 | 1 1 | 2020-12-23 07:15:39 |
| 2372 | 2005-06-18 14:37:37.000 | 1567 1567 | 96 96 | 2005-06-21 08:40:37.000 | 2 2 | 2020-12-23 07:15:52 |
| 2973 | 2005-06-20 07:59:27.000 | 2626 2626 | 96 96 | 2005-06-24 12:31:27.000 | 1 1 | 2020-12-23 07:16:00 |
| 3308 | 2005-06-21 07:58:36.000 | 3129 3129 | 96 96 | 2005-06-23 05:23:36.000 | 2 2 | 2020-12-23 07:16:05 |
| 3463 | 2005-06-21 22:00:00.000 | 3436 3436 | 96 96 | 2005-06-22 19:22:00.000 | 2 2 | 2020-12-23 07:16:07 |
| 3720 | 2005-07-06 11:06:57.000 | 2958 2958 | 96 96 | 2005-07-09 14:16:57.000 | 1 1 | 2020-12-23 07:16:11 |
| 3742 | 2005-07-06 12:01:38.000 | 2873 2873 | 96 96 | 2005-07-15 10:46:38.000 | 1 1 | 2020-12-23 07:16:11 |
| 4961 | 2005-07-08 23:35:53.000 | 3668 3668 | 96 96 | 2005-07-14 22:46:53.000 | 2 2 | 2020-12-23 07:16:30 |
| 5558 | 2005-07-10 03:12:08.000 | 1123 1123 | 96 96 | 2005-07-14 03:09:08.000 | 2 2 | 2020-12-23 07:16:39 |
| 5678 | 2005-07-10 08:42:42.000 | 4366 4366 | 96 96 | 2005-07-19 03:48:42.000 | 1 1 | 2020-12-23 07:16:40 |
| 5696 | 2005-07-10 09:44:32.000 | 128 128 | 96 96 | 2005-07-12 13:38:32.000 | 2 2 | 2020-12-23 07:16:41 |
| 8125 | 2005-07-28 19:31:48.000 | 4330 4330 | 96 96 | 2005-07-30 01:09:48.000 | 1 1 | 2020-12-23 07:17:16 |
| 8437 | 2005-07-29 07:23:43.000 | 2118 2118 | 96 96 | 2005-08-04 10:52:43.000 | 1 1 | 2020-12-23 07:17:21 |
| 9093 | 2005-07-30 08:33:24.000 | 2208 2208 | 96 96 | 2005-08-04 11:07:24.000 | 1 1 | 2020-12-23 07:17:30 |
| 9315 | 2005-07-30 17:05:29.000 | 444 444 | 96 96 | 2005-08-01 12:47:29.000 | 1 1 | 2020-12-23 07:17:34 |
| 9662 | 2005-07-31 06:09:53.000 | 2757 2757 | 96 96 | 2005-08-08 00:50:53.000 | 2 2 | 2020-12-23 07:17:39 |
| 10031 | 2005-07-31 18:40:15.000 | 3048 3048 | 96 96 | 2005-08-03 14:38:15.000 | 1 1 | 2020-12-23 07:17:44 |
| 11864 | 2005-08-17 14:02:01.000 | 2985 2985 | 96 96 | 2005-08-21 19:54:01.000 | 1 1 | 2020-12-23 07:18:09 |
| 11984 | 2005-08-17 18:16:30.000 | 3577 3577 | 96 96 | 2005-08-24 21:09:30.000 | 2 2 | 2020-12-23 07:18:11 |
| 12199 | 2005-08-18 02:09:23.000 | 424 424 | 96 96 | 2005-08-22 20:33:23.000 | 1 1 | 2020-12-23 07:18:14 |
| 12525 | 2005-08-18 13:48:31.000 | 2357 2357 | 96 96 | 2005-08-23 13:04:31.000 | 2 2 | 2020-12-23 07:18:18 |
| 13514 | 2005-08-20 02:28:09.000 | 3407 3407 | 96 96 | 2005-08-25 00:41:09.000 | 1 1 | 2020-12-23 07:18:33 |
| 13855 | 2005-08-20 14:48:55.000 | 1617 1617 | 96 96 | 2005-08-28 14:45:55.000 | 1 1 | 2020-12-23 07:18:38 |
| 14462 | 2005-08-21 12:50:57.000 | 2201 2201 | 96 96 | 2005-08-27 10:42:57.000 | 2 2 | 2020-12-23 07:18:47 |
| 15989 | 2005-08-23 20:24:36.000 | 38 38 | 96 96 | 2005-08-26 20:35:36.000 | 1 1 | 2020-12-23 07:19:09 |
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) ;