rental
32 rows where customer_id = 329
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 |
|---|---|---|---|---|---|---|
| 1183 | 2005-06-15 00:49:19.000 | 706 706 | 329 329 | 2005-06-20 04:33:19.000 | 1 1 | 2020-12-23 07:15:35 |
| 2010 | 2005-06-17 11:54:15.000 | 2845 2845 | 329 329 | 2005-06-21 05:55:15.000 | 1 1 | 2020-12-23 07:15:47 |
| 2024 | 2005-06-17 13:00:51.000 | 2566 2566 | 329 329 | 2005-06-22 07:03:51.000 | 1 1 | 2020-12-23 07:15:47 |
| 2151 | 2005-06-17 22:52:37.000 | 407 407 | 329 329 | 2005-06-20 22:00:37.000 | 1 1 | 2020-12-23 07:15:49 |
| 2303 | 2005-06-18 08:27:59.000 | 1524 1524 | 329 329 | 2005-06-22 10:58:59.000 | 1 1 | 2020-12-23 07:15:51 |
| 2702 | 2005-06-19 13:35:56.000 | 1736 1736 | 329 329 | 2005-06-20 14:07:56.000 | 2 2 | 2020-12-23 07:15:57 |
| 3052 | 2005-06-20 13:09:19.000 | 2359 2359 | 329 329 | 2005-06-29 11:55:19.000 | 2 2 | 2020-12-23 07:16:01 |
| 3053 | 2005-06-20 13:10:30.000 | 818 818 | 329 329 | 2005-06-25 17:22:30.000 | 2 2 | 2020-12-23 07:16:01 |
| 3268 | 2005-06-21 04:55:49.000 | 4366 4366 | 329 329 | 2005-06-30 00:23:49.000 | 2 2 | 2020-12-23 07:16:04 |
| 3976 | 2005-07-06 23:00:20.000 | 2424 2424 | 329 329 | 2005-07-07 21:51:20.000 | 2 2 | 2020-12-23 07:16:15 |
| 4076 | 2005-07-07 04:52:15.000 | 3148 3148 | 329 329 | 2005-07-13 23:22:15.000 | 1 1 | 2020-12-23 07:16:17 |
| 4415 | 2005-07-07 22:01:43.000 | 1403 1403 | 329 329 | 2005-07-13 03:09:43.000 | 2 2 | 2020-12-23 07:16:22 |
| 4465 | 2005-07-08 00:07:45.000 | 2877 2877 | 329 329 | 2005-07-13 18:08:45.000 | 2 2 | 2020-12-23 07:16:23 |
| 4674 | 2005-07-08 10:19:28.000 | 1617 1617 | 329 329 | 2005-07-12 12:54:28.000 | 2 2 | 2020-12-23 07:16:26 |
| 7980 | 2005-07-28 14:16:49.000 | 1019 1019 | 329 329 | 2005-08-05 09:20:49.000 | 1 1 | 2020-12-23 07:17:14 |
| 8172 | 2005-07-28 21:34:36.000 | 1237 1237 | 329 329 | 2005-08-06 23:53:36.000 | 1 1 | 2020-12-23 07:17:17 |
| 8460 | 2005-07-29 08:08:03.000 | 2826 2826 | 329 329 | 2005-08-07 06:53:03.000 | 2 2 | 2020-12-23 07:17:21 |
| 8941 | 2005-07-30 02:59:21.000 | 4147 4147 | 329 329 | 2005-08-02 05:18:21.000 | 2 2 | 2020-12-23 07:17:28 |
| 9024 | 2005-07-30 05:44:42.000 | 164 164 | 329 329 | 2005-08-05 03:15:42.000 | 2 2 | 2020-12-23 07:17:30 |
| 9219 | 2005-07-30 13:15:21.000 | 771 771 | 329 329 | 2005-08-01 11:39:21.000 | 1 1 | 2020-12-23 07:17:32 |
| 9381 | 2005-07-30 19:23:04.000 | 4064 4064 | 329 329 | 2005-07-31 23:37:04.000 | 2 2 | 2020-12-23 07:17:35 |
| 9827 | 2005-07-31 11:56:55.000 | 3840 3840 | 329 329 | 2005-08-09 16:29:55.000 | 1 1 | 2020-12-23 07:17:41 |
| 10473 | 2005-08-01 09:56:24.000 | 3034 3034 | 329 329 | 2005-08-10 12:36:24.000 | 2 2 | 2020-12-23 07:17:50 |
| 10490 | 2005-08-01 10:37:11.000 | 4365 4365 | 329 329 | 2005-08-03 10:01:11.000 | 2 2 | 2020-12-23 07:17:51 |
| 11130 | 2005-08-02 09:08:59.000 | 684 684 | 329 329 | 2005-08-09 07:50:59.000 | 2 2 | 2020-12-23 07:17:59 |
| 11169 | 2005-08-02 10:19:42.000 | 2392 2392 | 329 329 | 2005-08-07 05:45:42.000 | 1 1 | 2020-12-23 07:18:00 |
| 11697 | 2005-08-17 07:09:19.000 | 383 383 | 329 329 | 2005-08-19 02:02:19.000 | 1 1 | 2020-12-23 07:18:07 |
| 12659 | 2005-08-18 19:05:49.000 | 336 336 | 329 329 | 2005-08-24 22:12:49.000 | 2 2 | 2020-12-23 07:18:20 |
| 13627 | 2005-08-20 06:59:00.000 | 603 603 | 329 329 | 2005-08-29 11:43:00.000 | 2 2 | 2020-12-23 07:18:35 |
| 14900 | 2005-08-22 04:27:48.000 | 3420 3420 | 329 329 | 2005-08-25 03:50:48.000 | 2 2 | 2020-12-23 07:18:53 |
| 15011 | 2005-08-22 08:31:07.000 | 2722 2722 | 329 329 | 2005-08-24 04:47:07.000 | 1 1 | 2020-12-23 07:18:55 |
| 15308 | 2005-08-22 19:54:31.000 | 987 987 | 329 329 | 2005-08-26 23:09:31.000 | 1 1 | 2020-12-23 07:18:59 |
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) ;