rental
30 rows where customer_id = 388
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 |
|---|---|---|---|---|---|---|
| 21 | 2005-05-25 01:59:46.000 | 146 146 | 388 388 | 2005-05-26 01:01:46.000 | 2 2 | 2020-12-23 07:15:20 |
| 411 | 2005-05-27 14:14:14.000 | 1434 1434 | 388 388 | 2005-06-03 17:39:14.000 | 1 1 | 2020-12-23 07:15:25 |
| 1276 | 2005-06-15 08:00:13.000 | 1508 1508 | 388 388 | 2005-06-24 02:55:13.000 | 2 2 | 2020-12-23 07:15:37 |
| 2145 | 2005-06-17 22:10:36.000 | 238 238 | 388 388 | 2005-06-18 21:07:36.000 | 2 2 | 2020-12-23 07:15:49 |
| 2537 | 2005-06-19 01:52:21.000 | 3499 3499 | 388 388 | 2005-06-26 02:09:21.000 | 1 1 | 2020-12-23 07:15:54 |
| 2692 | 2005-06-19 13:08:19.000 | 3162 3162 | 388 388 | 2005-06-21 16:45:19.000 | 1 1 | 2020-12-23 07:15:57 |
| 3159 | 2005-06-20 21:11:50.000 | 33 33 | 388 388 | 2005-06-29 19:35:50.000 | 2 2 | 2020-12-23 07:16:03 |
| 4947 | 2005-07-08 22:49:37.000 | 3905 3905 | 388 388 | 2005-07-17 21:03:37.000 | 1 1 | 2020-12-23 07:16:30 |
| 5899 | 2005-07-10 20:21:52.000 | 1391 1391 | 388 388 | 2005-07-13 00:46:52.000 | 1 1 | 2020-12-23 07:16:44 |
| 6321 | 2005-07-11 18:51:02.000 | 2655 2655 | 388 388 | 2005-07-14 20:57:02.000 | 2 2 | 2020-12-23 07:16:49 |
| 6452 | 2005-07-12 00:57:31.000 | 109 109 | 388 388 | 2005-07-14 20:41:31.000 | 1 1 | 2020-12-23 07:16:51 |
| 7985 | 2005-07-28 14:29:01.000 | 4022 4022 | 388 388 | 2005-08-03 17:20:01.000 | 2 2 | 2020-12-23 07:17:14 |
| 8456 | 2005-07-29 07:58:31.000 | 671 671 | 388 388 | 2005-08-05 07:17:31.000 | 2 2 | 2020-12-23 07:17:21 |
| 9213 | 2005-07-30 13:07:11.000 | 184 184 | 388 388 | 2005-08-01 15:30:11.000 | 1 1 | 2020-12-23 07:17:32 |
| 9368 | 2005-07-30 18:50:53.000 | 3026 3026 | 388 388 | 2005-08-05 17:56:53.000 | 2 2 | 2020-12-23 07:17:35 |
| 9840 | 2005-07-31 12:23:18.000 | 364 364 | 388 388 | 2005-08-06 15:59:18.000 | 1 1 | 2020-12-23 07:17:42 |
| 9940 | 2005-07-31 15:29:06.000 | 3975 3975 | 388 388 | 2005-08-06 14:26:06.000 | 2 2 | 2020-12-23 07:17:43 |
| 10044 | 2005-07-31 19:02:33.000 | 3349 3349 | 388 388 | 2005-08-05 13:24:33.000 | 2 2 | 2020-12-23 07:17:44 |
| 11604 | 2005-08-17 03:28:27.000 | 1820 1820 | 388 388 | 2005-08-19 05:38:27.000 | 2 2 | 2020-12-23 07:18:06 |
| 12044 | 2005-08-17 20:39:37.000 | 3377 3377 | 388 388 | 2005-08-19 18:34:37.000 | 1 1 | 2020-12-23 07:18:12 |
| 12068 | 2005-08-17 21:37:08.000 | 4327 4327 | 388 388 | 2005-08-26 00:10:08.000 | 1 1 | 2020-12-23 07:18:12 |
| 12267 | 2005-08-18 04:24:30.000 | 652 652 | 388 388 | 2005-08-26 03:01:30.000 | 2 2 | 2020-12-23 07:18:15 |
| 12497 | 2005-08-18 12:58:40.000 | 824 824 | 388 388 | 2005-08-24 08:24:40.000 | 1 1 | 2020-12-23 07:18:18 |
| 12646 | 2005-08-18 18:25:06.000 | 3103 3103 | 388 388 | 2005-08-24 18:45:06.000 | 1 1 | 2020-12-23 07:18:20 |
| 12749 | 2005-08-18 22:31:21.000 | 828 828 | 388 388 | 2005-08-20 22:53:21.000 | 1 1 | 2020-12-23 07:18:21 |
| 12891 | 2006-02-14 15:16:03.000 | 2764 2764 | 388 388 | 2 2 | 2020-12-23 07:18:23 | |
| 12977 | 2005-08-19 06:55:33.000 | 2004 2004 | 388 388 | 2005-08-27 07:38:33.000 | 2 2 | 2020-12-23 07:18:25 |
| 14273 | 2005-08-21 06:26:48.000 | 2640 2640 | 388 388 | 2005-08-30 10:34:48.000 | 1 1 | 2020-12-23 07:18:45 |
| 14853 | 2005-08-22 02:26:33.000 | 3575 3575 | 388 388 | 2005-08-31 02:49:33.000 | 2 2 | 2020-12-23 07:18:53 |
| 15660 | 2005-08-23 08:51:21.000 | 3223 3223 | 388 388 | 2005-08-28 06:26:21.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;