rental
35 rows where customer_id = 373
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 257 | 2005-05-26 15:27:05.000 | 2570 2570 | 373 373 | 2005-05-29 16:25:05.000 | 2 2 | 2020-12-23 07:15:23 |
| 1472 | 2005-06-15 20:54:55.000 | 4233 4233 | 373 373 | 2005-06-24 21:52:55.000 | 2 2 | 2020-12-23 07:15:39 |
| 3161 | 2005-06-20 21:21:01.000 | 1326 1326 | 373 373 | 2005-06-21 18:22:01.000 | 2 2 | 2020-12-23 07:16:03 |
| 3609 | 2005-07-06 05:36:22.000 | 1064 1064 | 373 373 | 2005-07-10 05:55:22.000 | 1 1 | 2020-12-23 07:16:10 |
| 3667 | 2005-07-06 08:36:34.000 | 447 447 | 373 373 | 2005-07-15 04:25:34.000 | 2 2 | 2020-12-23 07:16:10 |
| 4325 | 2005-07-07 17:59:24.000 | 3728 3728 | 373 373 | 2005-07-16 17:10:24.000 | 2 2 | 2020-12-23 07:16:20 |
| 5120 | 2005-07-09 07:14:23.000 | 4431 4431 | 373 373 | 2005-07-14 04:00:23.000 | 2 2 | 2020-12-23 07:16:32 |
| 6202 | 2005-07-11 12:24:25.000 | 1424 1424 | 373 373 | 2005-07-18 08:13:25.000 | 1 1 | 2020-12-23 07:16:48 |
| 6311 | 2005-07-11 18:18:52.000 | 1789 1789 | 373 373 | 2005-07-16 17:52:52.000 | 2 2 | 2020-12-23 07:16:49 |
| 6944 | 2005-07-26 23:34:02.000 | 1168 1168 | 373 373 | 2005-08-05 01:27:02.000 | 1 1 | 2020-12-23 07:16:59 |
| 7094 | 2005-07-27 04:47:33.000 | 867 867 | 373 373 | 2005-07-31 04:07:33.000 | 2 2 | 2020-12-23 07:17:01 |
| 7206 | 2005-07-27 09:07:05.000 | 3752 3752 | 373 373 | 2005-07-31 03:13:05.000 | 2 2 | 2020-12-23 07:17:03 |
| 7615 | 2005-07-28 00:15:24.000 | 3884 3884 | 373 373 | 2005-07-31 02:00:24.000 | 1 1 | 2020-12-23 07:17:09 |
| 8611 | 2005-07-29 13:26:21.000 | 610 610 | 373 373 | 2005-08-07 18:20:21.000 | 2 2 | 2020-12-23 07:17:24 |
| 9327 | 2005-07-30 17:31:03.000 | 345 345 | 373 373 | 2005-08-08 19:16:03.000 | 1 1 | 2020-12-23 07:17:34 |
| 9397 | 2005-07-30 20:07:29.000 | 1550 1550 | 373 373 | 2005-08-05 00:36:29.000 | 1 1 | 2020-12-23 07:17:35 |
| 9480 | 2005-07-30 23:26:03.000 | 597 597 | 373 373 | 2005-08-04 21:18:03.000 | 2 2 | 2020-12-23 07:17:36 |
| 9966 | 2005-07-31 16:26:46.000 | 4137 4137 | 373 373 | 2005-08-03 14:29:46.000 | 1 1 | 2020-12-23 07:17:43 |
| 10010 | 2005-07-31 18:01:36.000 | 2655 2655 | 373 373 | 2005-08-07 20:27:36.000 | 2 2 | 2020-12-23 07:17:44 |
| 10221 | 2005-08-01 01:16:50.000 | 3051 3051 | 373 373 | 2005-08-03 05:35:50.000 | 2 2 | 2020-12-23 07:17:47 |
| 10758 | 2005-08-01 20:22:51.000 | 191 191 | 373 373 | 2005-08-10 16:11:51.000 | 1 1 | 2020-12-23 07:17:54 |
| 11066 | 2005-08-02 06:58:32.000 | 4213 4213 | 373 373 | 2005-08-10 01:27:32.000 | 2 2 | 2020-12-23 07:17:58 |
| 11512 | 2005-08-16 23:51:06.000 | 1248 1248 | 373 373 | 2005-08-26 02:06:06.000 | 2 2 | 2020-12-23 07:18:05 |
| 11663 | 2005-08-17 05:30:19.000 | 3798 3798 | 373 373 | 2005-08-25 08:14:19.000 | 1 1 | 2020-12-23 07:18:07 |
| 11739 | 2006-02-14 15:16:03.000 | 4568 4568 | 373 373 | 2 2 | 2020-12-23 07:18:08 | |
| 11976 | 2005-08-17 17:59:19.000 | 498 498 | 373 373 | 2005-08-23 14:51:19.000 | 2 2 | 2020-12-23 07:18:11 |
| 12142 | 2005-08-18 00:04:12.000 | 3748 3748 | 373 373 | 2005-08-24 01:24:12.000 | 2 2 | 2020-12-23 07:18:13 |
| 12536 | 2005-08-18 14:06:06.000 | 2343 2343 | 373 373 | 2005-08-25 14:21:06.000 | 1 1 | 2020-12-23 07:18:18 |
| 12748 | 2005-08-18 22:29:05.000 | 3249 3249 | 373 373 | 2005-08-24 18:25:05.000 | 2 2 | 2020-12-23 07:18:21 |
| 12780 | 2005-08-18 23:48:16.000 | 54 54 | 373 373 | 2005-08-20 18:13:16.000 | 2 2 | 2020-12-23 07:18:22 |
| 13299 | 2005-08-19 18:46:33.000 | 4385 4385 | 373 373 | 2005-08-22 20:45:33.000 | 1 1 | 2020-12-23 07:18:30 |
| 13329 | 2005-08-19 19:56:55.000 | 3136 3136 | 373 373 | 2005-08-25 01:19:55.000 | 2 2 | 2020-12-23 07:18:30 |
| 13467 | 2005-08-20 00:56:44.000 | 696 696 | 373 373 | 2005-08-20 20:16:44.000 | 1 1 | 2020-12-23 07:18:32 |
| 15014 | 2005-08-22 08:43:11.000 | 3678 3678 | 373 373 | 2005-08-31 02:55:11.000 | 1 1 | 2020-12-23 07:18:55 |
| 15068 | 2005-08-22 10:50:13.000 | 3268 3268 | 373 373 | 2005-08-26 05:04:13.000 | 2 2 | 2020-12-23 07:18:56 |
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) ;