rental
28 rows where customer_id = 374
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 |
|---|---|---|---|---|---|---|
| 521 | 2005-05-28 03:32:22.000 | 2397 2397 | 374 374 | 2005-05-28 22:37:22.000 | 1 1 | 2020-12-23 07:15:26 |
| 910 | 2005-05-30 10:46:16.000 | 2601 2601 | 374 374 | 2005-06-04 13:32:16.000 | 1 1 | 2020-12-23 07:15:32 |
| 919 | 2005-05-30 11:35:06.000 | 4052 4052 | 374 374 | 2005-06-02 13:16:06.000 | 2 2 | 2020-12-23 07:15:32 |
| 1548 | 2005-06-16 01:43:33.000 | 2094 2094 | 374 374 | 2005-06-23 22:04:33.000 | 2 2 | 2020-12-23 07:15:40 |
| 2046 | 2005-06-17 14:39:50.000 | 872 872 | 374 374 | 2005-06-24 16:02:50.000 | 1 1 | 2020-12-23 07:15:47 |
| 2487 | 2005-06-18 21:32:54.000 | 3683 3683 | 374 374 | 2005-06-23 21:11:54.000 | 2 2 | 2020-12-23 07:15:54 |
| 2641 | 2005-06-19 09:38:33.000 | 231 231 | 374 374 | 2005-06-22 09:55:33.000 | 1 1 | 2020-12-23 07:15:56 |
| 3797 | 2005-07-06 14:54:52.000 | 1047 1047 | 374 374 | 2005-07-10 09:50:52.000 | 2 2 | 2020-12-23 07:16:12 |
| 5463 | 2005-07-09 22:57:02.000 | 601 601 | 374 374 | 2005-07-11 03:10:02.000 | 1 1 | 2020-12-23 07:16:37 |
| 5570 | 2005-07-10 03:46:47.000 | 2013 2013 | 374 374 | 2005-07-17 09:28:47.000 | 1 1 | 2020-12-23 07:16:39 |
| 5591 | 2005-07-10 04:25:03.000 | 378 378 | 374 374 | 2005-07-16 04:21:03.000 | 1 1 | 2020-12-23 07:16:39 |
| 5945 | 2005-07-10 22:52:42.000 | 427 427 | 374 374 | 2005-07-11 21:52:42.000 | 1 1 | 2020-12-23 07:16:44 |
| 6315 | 2005-07-11 18:42:49.000 | 608 608 | 374 374 | 2005-07-12 23:19:49.000 | 2 2 | 2020-12-23 07:16:49 |
| 7837 | 2005-07-28 08:58:32.000 | 115 115 | 374 374 | 2005-07-29 14:11:32.000 | 1 1 | 2020-12-23 07:17:12 |
| 8586 | 2005-07-29 12:16:34.000 | 2752 2752 | 374 374 | 2005-08-07 06:48:34.000 | 1 1 | 2020-12-23 07:17:23 |
| 9113 | 2005-07-30 09:09:03.000 | 3903 3903 | 374 374 | 2005-07-31 03:13:03.000 | 1 1 | 2020-12-23 07:17:31 |
| 9866 | 2005-07-31 13:13:50.000 | 3555 3555 | 374 374 | 2005-08-07 15:11:50.000 | 1 1 | 2020-12-23 07:17:42 |
| 10695 | 2005-08-01 18:16:20.000 | 3612 3612 | 374 374 | 2005-08-03 12:21:20.000 | 2 2 | 2020-12-23 07:17:54 |
| 11619 | 2005-08-17 04:03:26.000 | 3652 3652 | 374 374 | 2005-08-22 03:07:26.000 | 1 1 | 2020-12-23 07:18:06 |
| 12696 | 2005-08-18 20:13:08.000 | 3989 3989 | 374 374 | 2005-08-19 18:02:08.000 | 2 2 | 2020-12-23 07:18:21 |
| 13337 | 2005-08-19 20:06:57.000 | 3584 3584 | 374 374 | 2005-08-20 16:31:57.000 | 1 1 | 2020-12-23 07:18:30 |
| 13734 | 2005-08-20 10:29:57.000 | 4561 4561 | 374 374 | 2005-08-25 14:41:57.000 | 2 2 | 2020-12-23 07:18:36 |
| 14524 | 2005-08-21 15:05:27.000 | 4409 4409 | 374 374 | 2005-08-29 12:07:27.000 | 2 2 | 2020-12-23 07:18:48 |
| 15053 | 2005-08-22 10:13:09.000 | 1065 1065 | 374 374 | 2005-08-28 12:42:09.000 | 2 2 | 2020-12-23 07:18:55 |
| 15200 | 2005-08-22 16:22:53.000 | 1000 1000 | 374 374 | 2005-08-24 10:25:53.000 | 2 2 | 2020-12-23 07:18:58 |
| 15202 | 2005-08-22 16:26:53.000 | 2119 2119 | 374 374 | 2005-08-23 13:49:53.000 | 2 2 | 2020-12-23 07:18:58 |
| 15366 | 2005-08-22 21:45:57.000 | 1453 1453 | 374 374 | 2005-08-30 16:35:57.000 | 1 1 | 2020-12-23 07:19:00 |
| 15966 | 2006-02-14 15:16:03.000 | 4472 4472 | 374 374 | 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) ;