rental
29 rows where customer_id = 337
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 |
|---|---|---|---|---|---|---|
| 374 | 2005-05-27 08:26:30.000 | 4420 4420 | 337 337 | 2005-06-05 07:13:30.000 | 1 1 | 2020-12-23 07:15:25 |
| 572 | 2005-05-28 10:30:13.000 | 1899 1899 | 337 337 | 2005-06-02 05:04:13.000 | 2 2 | 2020-12-23 07:15:27 |
| 839 | 2005-05-30 00:28:12.000 | 1886 1886 | 337 337 | 2005-06-08 02:43:12.000 | 1 1 | 2020-12-23 07:15:31 |
| 1969 | 2005-06-17 09:22:22.000 | 4450 4450 | 337 337 | 2005-06-21 05:31:22.000 | 2 2 | 2020-12-23 07:15:46 |
| 2014 | 2005-06-17 12:03:28.000 | 2969 2969 | 337 337 | 2005-06-25 16:00:28.000 | 2 2 | 2020-12-23 07:15:47 |
| 3626 | 2005-07-06 06:15:35.000 | 1599 1599 | 337 337 | 2005-07-10 10:18:35.000 | 2 2 | 2020-12-23 07:16:10 |
| 4091 | 2005-07-07 05:53:38.000 | 3928 3928 | 337 337 | 2005-07-14 03:12:38.000 | 2 2 | 2020-12-23 07:16:17 |
| 4093 | 2005-07-07 05:54:50.000 | 1534 1534 | 337 337 | 2005-07-12 00:34:50.000 | 1 1 | 2020-12-23 07:16:17 |
| 4855 | 2005-07-08 18:45:50.000 | 1146 1146 | 337 337 | 2005-07-11 18:23:50.000 | 2 2 | 2020-12-23 07:16:28 |
| 5050 | 2005-07-09 03:54:38.000 | 3876 3876 | 337 337 | 2005-07-10 02:23:38.000 | 2 2 | 2020-12-23 07:16:31 |
| 6212 | 2005-07-11 12:40:48.000 | 3962 3962 | 337 337 | 2005-07-15 17:49:48.000 | 2 2 | 2020-12-23 07:16:48 |
| 6305 | 2005-07-11 18:02:25.000 | 1544 1544 | 337 337 | 2005-07-20 13:29:25.000 | 1 1 | 2020-12-23 07:16:49 |
| 6620 | 2005-07-12 08:51:03.000 | 2362 2362 | 337 337 | 2005-07-16 03:59:03.000 | 2 2 | 2020-12-23 07:16:54 |
| 7410 | 2005-07-27 16:41:59.000 | 1559 1559 | 337 337 | 2005-07-29 22:11:59.000 | 1 1 | 2020-12-23 07:17:06 |
| 8516 | 2005-07-29 10:00:03.000 | 981 981 | 337 337 | 2005-08-02 09:34:03.000 | 1 1 | 2020-12-23 07:17:22 |
| 8919 | 2005-07-30 01:57:03.000 | 4006 4006 | 337 337 | 2005-08-08 05:14:03.000 | 1 1 | 2020-12-23 07:17:28 |
| 9051 | 2005-07-30 07:05:54.000 | 1847 1847 | 337 337 | 2005-08-07 09:12:54.000 | 2 2 | 2020-12-23 07:17:30 |
| 10664 | 2005-08-01 16:51:15.000 | 3167 3167 | 337 337 | 2005-08-04 19:14:15.000 | 2 2 | 2020-12-23 07:17:53 |
| 10765 | 2005-08-01 20:34:51.000 | 566 566 | 337 337 | 2005-08-04 00:02:51.000 | 1 1 | 2020-12-23 07:17:55 |
| 11252 | 2005-08-02 13:42:13.000 | 2410 2410 | 337 337 | 2005-08-06 19:04:13.000 | 2 2 | 2020-12-23 07:18:01 |
| 11734 | 2005-08-17 08:34:22.000 | 4063 4063 | 337 337 | 2005-08-25 11:56:22.000 | 2 2 | 2020-12-23 07:18:08 |
| 11847 | 2006-02-14 15:16:03.000 | 1784 1784 | 337 337 | 1 1 | 2020-12-23 07:18:09 | |
| 12369 | 2005-08-18 07:57:43.000 | 484 484 | 337 337 | 2005-08-26 09:36:43.000 | 1 1 | 2020-12-23 07:18:16 |
| 13305 | 2005-08-19 18:57:05.000 | 2386 2386 | 337 337 | 2005-08-28 22:28:05.000 | 1 1 | 2020-12-23 07:18:30 |
| 13678 | 2005-08-20 08:38:24.000 | 1118 1118 | 337 337 | 2005-08-27 13:54:24.000 | 2 2 | 2020-12-23 07:18:36 |
| 13892 | 2005-08-20 15:50:17.000 | 1236 1236 | 337 337 | 2005-08-29 13:33:17.000 | 2 2 | 2020-12-23 07:18:39 |
| 14118 | 2005-08-21 01:13:37.000 | 2605 2605 | 337 337 | 2005-08-28 02:35:37.000 | 2 2 | 2020-12-23 07:18:42 |
| 15241 | 2005-08-22 17:47:40.000 | 832 832 | 337 337 | 2005-08-29 15:28:40.000 | 2 2 | 2020-12-23 07:18:58 |
| 15292 | 2005-08-22 19:28:56.000 | 3072 3072 | 337 337 | 2005-08-28 22:39:56.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) ;