rental
29 rows where customer_id = 467
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 |
|---|---|---|---|---|---|---|
| 225 | 2005-05-26 10:27:50.000 | 651 651 | 467 467 | 2005-06-01 07:01:50.000 | 2 2 | 2020-12-23 07:15:23 |
| 1737 | 2005-06-16 15:59:44.000 | 4029 4029 | 467 467 | 2005-06-23 12:22:44.000 | 1 1 | 2020-12-23 07:15:43 |
| 2121 | 2005-06-17 20:38:54.000 | 141 141 | 467 467 | 2005-06-22 23:06:54.000 | 2 2 | 2020-12-23 07:15:48 |
| 2870 | 2005-06-20 00:17:46.000 | 214 214 | 467 467 | 2005-06-28 20:21:46.000 | 1 1 | 2020-12-23 07:15:59 |
| 3250 | 2005-06-21 03:16:36.000 | 736 736 | 467 467 | 2005-06-29 00:53:36.000 | 2 2 | 2020-12-23 07:16:04 |
| 4216 | 2005-07-07 12:01:34.000 | 1216 1216 | 467 467 | 2005-07-08 09:59:34.000 | 1 1 | 2020-12-23 07:16:19 |
| 4222 | 2005-07-07 12:20:21.000 | 2053 2053 | 467 467 | 2005-07-11 11:09:21.000 | 2 2 | 2020-12-23 07:16:19 |
| 4259 | 2005-07-07 14:22:18.000 | 4378 4378 | 467 467 | 2005-07-11 19:38:18.000 | 1 1 | 2020-12-23 07:16:19 |
| 5160 | 2005-07-09 08:57:07.000 | 1925 1925 | 467 467 | 2005-07-18 06:01:07.000 | 1 1 | 2020-12-23 07:16:33 |
| 6271 | 2005-07-11 16:01:35.000 | 1246 1246 | 467 467 | 2005-07-20 12:07:35.000 | 2 2 | 2020-12-23 07:16:49 |
| 7360 | 2005-07-27 14:52:06.000 | 1312 1312 | 467 467 | 2005-08-02 12:24:06.000 | 2 2 | 2020-12-23 07:17:05 |
| 7573 | 2005-07-27 22:46:20.000 | 314 314 | 467 467 | 2005-08-04 01:55:20.000 | 1 1 | 2020-12-23 07:17:08 |
| 7611 | 2005-07-28 00:11:47.000 | 3347 3347 | 467 467 | 2005-07-28 18:35:47.000 | 1 1 | 2020-12-23 07:17:09 |
| 8010 | 2005-07-28 15:26:20.000 | 68 68 | 467 467 | 2005-08-04 18:39:20.000 | 2 2 | 2020-12-23 07:17:14 |
| 8061 | 2005-07-28 17:12:53.000 | 650 650 | 467 467 | 2005-08-05 13:56:53.000 | 2 2 | 2020-12-23 07:17:15 |
| 8224 | 2005-07-28 23:59:02.000 | 1995 1995 | 467 467 | 2005-08-02 04:54:02.000 | 1 1 | 2020-12-23 07:17:18 |
| 8480 | 2005-07-29 08:44:46.000 | 3512 3512 | 467 467 | 2005-08-05 13:22:46.000 | 1 1 | 2020-12-23 07:17:22 |
| 8767 | 2005-07-29 19:42:33.000 | 962 962 | 467 467 | 2005-08-01 20:52:33.000 | 2 2 | 2020-12-23 07:17:26 |
| 10239 | 2005-08-01 02:09:22.000 | 1232 1232 | 467 467 | 2005-08-04 01:35:22.000 | 2 2 | 2020-12-23 07:17:47 |
| 11332 | 2005-08-02 16:52:57.000 | 2381 2381 | 467 467 | 2005-08-04 14:13:57.000 | 1 1 | 2020-12-23 07:18:02 |
| 11874 | 2005-08-17 14:16:40.000 | 2637 2637 | 467 467 | 2005-08-18 15:51:40.000 | 2 2 | 2020-12-23 07:18:10 |
| 12266 | 2005-08-18 04:22:31.000 | 2192 2192 | 467 467 | 2005-08-19 04:25:31.000 | 2 2 | 2020-12-23 07:18:15 |
| 12437 | 2005-08-18 10:42:43.000 | 4036 4036 | 467 467 | 2005-08-26 11:58:43.000 | 2 2 | 2020-12-23 07:18:17 |
| 12641 | 2005-08-18 18:18:08.000 | 776 776 | 467 467 | 2005-08-19 23:17:08.000 | 1 1 | 2020-12-23 07:18:20 |
| 14402 | 2005-08-21 10:38:17.000 | 749 749 | 467 467 | 2005-08-27 08:36:17.000 | 2 2 | 2020-12-23 07:18:46 |
| 14451 | 2005-08-21 12:21:44.000 | 3967 3967 | 467 467 | 2005-08-22 15:07:44.000 | 2 2 | 2020-12-23 07:18:47 |
| 14842 | 2005-08-22 02:04:38.000 | 2511 2511 | 467 467 | 2005-08-30 06:46:38.000 | 2 2 | 2020-12-23 07:18:52 |
| 15032 | 2005-08-22 09:14:09.000 | 3414 3414 | 467 467 | 2005-08-25 09:50:09.000 | 2 2 | 2020-12-23 07:18:55 |
| 15830 | 2005-08-23 15:19:15.000 | 309 309 | 467 467 | 2005-08-25 18:42:15.000 | 2 2 | 2020-12-23 07:19:07 |
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) ;