rental
30 rows where customer_id = 472
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 |
|---|---|---|---|---|---|---|
| 142 | 2005-05-25 23:43:47.000 | 4407 4407 | 472 472 | 2005-05-29 00:46:47.000 | 2 2 | 2020-12-23 07:15:22 |
| 249 | 2005-05-26 14:19:09.000 | 2428 2428 | 472 472 | 2005-05-28 17:47:09.000 | 2 2 | 2020-12-23 07:15:23 |
| 800 | 2005-05-29 17:28:12.000 | 441 441 | 472 472 | 2005-05-30 14:59:12.000 | 1 1 | 2020-12-23 07:15:30 |
| 994 | 2005-05-30 23:55:36.000 | 2798 2798 | 472 472 | 2005-06-04 01:00:36.000 | 2 2 | 2020-12-23 07:15:33 |
| 1389 | 2005-06-15 15:49:01.000 | 965 965 | 472 472 | 2005-06-19 11:08:01.000 | 2 2 | 2020-12-23 07:15:38 |
| 1776 | 2005-06-16 18:46:58.000 | 1404 1404 | 472 472 | 2005-06-24 16:01:58.000 | 1 1 | 2020-12-23 07:15:43 |
| 2538 | 2005-06-19 01:56:59.000 | 1287 1287 | 472 472 | 2005-06-25 00:54:59.000 | 2 2 | 2020-12-23 07:15:54 |
| 2974 | 2005-06-20 08:00:24.000 | 2322 2322 | 472 472 | 2005-06-25 05:10:24.000 | 2 2 | 2020-12-23 07:16:00 |
| 2991 | 2005-06-20 09:10:43.000 | 4308 4308 | 472 472 | 2005-06-23 13:04:43.000 | 1 1 | 2020-12-23 07:16:01 |
| 3254 | 2005-06-21 03:27:10.000 | 3893 3893 | 472 472 | 2005-06-22 22:01:10.000 | 2 2 | 2020-12-23 07:16:04 |
| 3815 | 2005-07-06 15:26:36.000 | 4038 4038 | 472 472 | 2005-07-11 17:07:36.000 | 2 2 | 2020-12-23 07:16:13 |
| 5318 | 2005-07-09 16:11:33.000 | 1738 1738 | 472 472 | 2005-07-14 12:49:33.000 | 2 2 | 2020-12-23 07:16:35 |
| 5612 | 2005-07-10 05:15:12.000 | 2363 2363 | 472 472 | 2005-07-17 09:50:12.000 | 2 2 | 2020-12-23 07:16:39 |
| 6119 | 2005-07-11 07:44:46.000 | 4281 4281 | 472 472 | 2005-07-20 04:41:46.000 | 2 2 | 2020-12-23 07:16:47 |
| 6274 | 2005-07-11 16:09:42.000 | 2998 2998 | 472 472 | 2005-07-19 20:46:42.000 | 1 1 | 2020-12-23 07:16:49 |
| 6308 | 2005-07-11 18:08:41.000 | 3155 3155 | 472 472 | 2005-07-19 15:48:41.000 | 2 2 | 2020-12-23 07:16:49 |
| 6584 | 2005-07-12 06:43:36.000 | 1800 1800 | 472 472 | 2005-07-16 12:18:36.000 | 2 2 | 2020-12-23 07:16:53 |
| 8929 | 2005-07-30 02:28:22.000 | 3501 3501 | 472 472 | 2005-08-06 06:13:22.000 | 1 1 | 2020-12-23 07:17:28 |
| 9926 | 2005-07-31 15:11:51.000 | 3733 3733 | 472 472 | 2005-08-09 18:26:51.000 | 1 1 | 2020-12-23 07:17:43 |
| 10282 | 2005-08-01 03:29:10.000 | 617 617 | 472 472 | 2005-08-07 06:16:10.000 | 1 1 | 2020-12-23 07:17:47 |
| 10627 | 2005-08-01 15:33:03.000 | 2026 2026 | 472 472 | 2005-08-02 21:26:03.000 | 1 1 | 2020-12-23 07:17:53 |
| 11911 | 2005-08-17 15:51:35.000 | 3578 3578 | 472 472 | 2005-08-26 20:26:35.000 | 2 2 | 2020-12-23 07:18:10 |
| 12763 | 2005-08-18 23:07:01.000 | 393 393 | 472 472 | 2005-08-21 18:45:01.000 | 1 1 | 2020-12-23 07:18:22 |
| 13188 | 2005-08-19 14:27:03.000 | 583 583 | 472 472 | 2005-08-28 09:15:03.000 | 2 2 | 2020-12-23 07:18:28 |
| 14209 | 2005-08-21 04:17:56.000 | 896 896 | 472 472 | 2005-08-27 06:57:56.000 | 1 1 | 2020-12-23 07:18:44 |
| 14596 | 2005-08-21 17:38:37.000 | 2010 2010 | 472 472 | 2005-08-30 20:28:37.000 | 1 1 | 2020-12-23 07:18:49 |
| 14597 | 2005-08-21 17:39:41.000 | 1160 1160 | 472 472 | 2005-08-25 14:07:41.000 | 1 1 | 2020-12-23 07:18:49 |
| 14928 | 2006-02-14 15:16:03.000 | 4375 4375 | 472 472 | 1 1 | 2020-12-23 07:18:54 | |
| 15185 | 2005-08-22 15:52:50.000 | 2948 2948 | 472 472 | 2005-08-31 20:38:50.000 | 1 1 | 2020-12-23 07:18:57 |
| 15278 | 2005-08-22 19:06:47.000 | 2454 2454 | 472 472 | 2005-08-25 01:00:47.000 | 2 2 | 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) ;