rental
32 rows where customer_id = 15
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 |
|---|---|---|---|---|---|---|
| 2486 | 2005-06-18 21:26:56.000 | 268 268 | 15 15 | 2005-06-22 23:42:56.000 | 1 1 | 2020-12-23 07:15:54 |
| 2937 | 2005-06-20 05:15:37.000 | 1998 1998 | 15 15 | 2005-06-27 02:45:37.000 | 1 1 | 2020-12-23 07:16:00 |
| 3182 | 2005-06-20 22:52:18.000 | 4017 4017 | 15 15 | 2005-06-21 21:00:18.000 | 2 2 | 2020-12-23 07:16:03 |
| 3550 | 2005-07-06 02:29:21.000 | 2417 2417 | 15 15 | 2005-07-13 05:26:21.000 | 2 2 | 2020-12-23 07:16:09 |
| 4127 | 2005-07-07 07:26:19.000 | 1774 1774 | 15 15 | 2005-07-14 07:50:19.000 | 2 2 | 2020-12-23 07:16:17 |
| 5717 | 2005-07-10 11:02:03.000 | 529 529 | 15 15 | 2005-07-13 13:00:03.000 | 1 1 | 2020-12-23 07:16:41 |
| 5975 | 2005-07-11 00:14:19.000 | 2997 2997 | 15 15 | 2005-07-16 04:21:19.000 | 1 1 | 2020-12-23 07:16:45 |
| 7105 | 2005-07-27 05:15:37.000 | 864 864 | 15 15 | 2005-07-28 05:49:37.000 | 2 2 | 2020-12-23 07:17:01 |
| 8193 | 2005-07-28 22:50:50.000 | 2402 2402 | 15 15 | 2005-08-01 04:14:50.000 | 2 2 | 2020-12-23 07:17:17 |
| 8615 | 2005-07-29 13:36:01.000 | 4453 4453 | 15 15 | 2005-08-03 13:15:01.000 | 1 1 | 2020-12-23 07:17:24 |
| 8927 | 2005-07-30 02:13:31.000 | 272 272 | 15 15 | 2005-08-01 01:34:31.000 | 1 1 | 2020-12-23 07:17:28 |
| 9987 | 2005-07-31 17:22:35.000 | 1619 1619 | 15 15 | 2005-08-01 21:19:35.000 | 2 2 | 2020-12-23 07:17:44 |
| 11118 | 2005-08-02 08:44:18.000 | 2411 2411 | 15 15 | 2005-08-05 08:08:18.000 | 2 2 | 2020-12-23 07:17:59 |
| 11141 | 2005-08-02 09:29:11.000 | 1614 1614 | 15 15 | 2005-08-04 07:50:11.000 | 1 1 | 2020-12-23 07:17:59 |
| 11307 | 2005-08-02 15:48:08.000 | 1490 1490 | 15 15 | 2005-08-06 20:33:08.000 | 2 2 | 2020-12-23 07:18:02 |
| 11341 | 2005-08-02 17:09:24.000 | 3586 3586 | 15 15 | 2005-08-09 19:48:24.000 | 2 2 | 2020-12-23 07:18:02 |
| 11922 | 2005-08-17 16:20:37.000 | 3707 3707 | 15 15 | 2005-08-26 16:53:37.000 | 2 2 | 2020-12-23 07:18:10 |
| 12272 | 2005-08-18 04:39:10.000 | 1964 1964 | 15 15 | 2005-08-24 09:41:10.000 | 1 1 | 2020-12-23 07:18:15 |
| 12551 | 2005-08-18 14:46:26.000 | 2195 2195 | 15 15 | 2005-08-19 16:59:26.000 | 2 2 | 2020-12-23 07:18:19 |
| 12635 | 2005-08-18 18:00:23.000 | 331 331 | 15 15 | 2005-08-23 16:40:23.000 | 2 2 | 2020-12-23 07:18:20 |
| 13339 | 2005-08-19 20:18:36.000 | 1428 1428 | 15 15 | 2005-08-28 21:34:36.000 | 1 1 | 2020-12-23 07:18:30 |
| 13393 | 2005-08-19 22:03:46.000 | 958 958 | 15 15 | 2005-08-28 19:19:46.000 | 2 2 | 2020-12-23 07:18:31 |
| 13503 | 2005-08-20 02:00:33.000 | 453 453 | 15 15 | 2005-08-28 21:03:33.000 | 1 1 | 2020-12-23 07:18:33 |
| 13541 | 2005-08-20 03:41:41.000 | 1363 1363 | 15 15 | 2005-08-24 23:14:41.000 | 1 1 | 2020-12-23 07:18:33 |
| 13677 | 2005-08-20 08:34:41.000 | 4013 4013 | 15 15 | 2005-08-26 11:51:41.000 | 2 2 | 2020-12-23 07:18:36 |
| 13798 | 2006-02-14 15:16:03.000 | 526 526 | 15 15 | 2 2 | 2020-12-23 07:18:37 | |
| 13968 | 2006-02-14 15:16:03.000 | 3715 3715 | 15 15 | 2 2 | 2020-12-23 07:18:40 | |
| 14569 | 2005-08-21 16:31:22.000 | 884 884 | 15 15 | 2005-08-25 21:27:22.000 | 2 2 | 2020-12-23 07:18:49 |
| 14776 | 2005-08-21 23:53:35.000 | 3488 3488 | 15 15 | 2005-08-24 02:00:35.000 | 2 2 | 2020-12-23 07:18:51 |
| 14872 | 2005-08-22 03:23:41.000 | 962 962 | 15 15 | 2005-08-29 23:25:41.000 | 1 1 | 2020-12-23 07:18:53 |
| 15178 | 2005-08-22 15:36:04.000 | 1745 1745 | 15 15 | 2005-08-26 21:00:04.000 | 2 2 | 2020-12-23 07:18:57 |
| 15897 | 2005-08-23 17:12:31.000 | 1652 1652 | 15 15 | 2005-08-30 17:22:31.000 | 1 1 | 2020-12-23 07:19:08 |
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) ;