rental
30 rows where customer_id = 20
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 |
|---|---|---|---|---|---|---|
| 202 | 2005-05-26 07:27:36.000 | 674 674 | 20 20 | 2005-06-02 03:52:36.000 | 1 1 | 2020-12-23 07:15:22 |
| 497 | 2005-05-28 00:54:39.000 | 2636 2636 | 20 20 | 2005-06-03 20:47:39.000 | 2 2 | 2020-12-23 07:15:26 |
| 546 | 2005-05-28 07:16:25.000 | 487 487 | 20 20 | 2005-06-01 08:36:25.000 | 1 1 | 2020-12-23 07:15:27 |
| 1558 | 2005-06-16 02:33:53.000 | 4350 4350 | 20 20 | 2005-06-19 20:50:53.000 | 2 2 | 2020-12-23 07:15:40 |
| 2136 | 2005-06-17 21:16:41.000 | 2651 2651 | 20 20 | 2005-06-24 22:42:41.000 | 2 2 | 2020-12-23 07:15:49 |
| 2343 | 2005-06-18 11:46:26.000 | 4554 4554 | 20 20 | 2005-06-22 11:37:26.000 | 2 2 | 2020-12-23 07:15:52 |
| 3350 | 2005-06-21 11:21:38.000 | 3221 3221 | 20 20 | 2005-06-28 15:37:38.000 | 2 2 | 2020-12-23 07:16:06 |
| 4011 | 2005-07-07 00:48:25.000 | 2052 2052 | 20 20 | 2005-07-13 06:30:25.000 | 2 2 | 2020-12-23 07:16:16 |
| 4407 | 2005-07-07 21:39:45.000 | 267 267 | 20 20 | 2005-07-11 23:40:45.000 | 1 1 | 2020-12-23 07:16:22 |
| 5718 | 2005-07-10 11:03:20.000 | 3719 3719 | 20 20 | 2005-07-19 15:38:20.000 | 2 2 | 2020-12-23 07:16:41 |
| 6254 | 2005-07-11 15:10:18.000 | 2038 2038 | 20 20 | 2005-07-17 14:20:18.000 | 2 2 | 2020-12-23 07:16:48 |
| 6267 | 2005-07-11 15:53:00.000 | 2152 2152 | 20 20 | 2005-07-17 18:09:00.000 | 2 2 | 2020-12-23 07:16:49 |
| 7217 | 2005-07-27 09:31:44.000 | 2646 2646 | 20 20 | 2005-07-29 10:48:44.000 | 1 1 | 2020-12-23 07:17:03 |
| 7864 | 2005-07-28 10:06:10.000 | 1238 1238 | 20 20 | 2005-08-04 08:38:10.000 | 1 1 | 2020-12-23 07:17:12 |
| 8127 | 2005-07-28 19:45:19.000 | 4265 4265 | 20 20 | 2005-07-31 22:07:19.000 | 2 2 | 2020-12-23 07:17:16 |
| 9075 | 2005-07-30 07:55:14.000 | 1931 1931 | 20 20 | 2005-08-02 13:49:14.000 | 1 1 | 2020-12-23 07:17:30 |
| 9468 | 2005-07-30 22:53:52.000 | 4366 4366 | 20 20 | 2005-08-07 00:22:52.000 | 2 2 | 2020-12-23 07:17:36 |
| 10284 | 2005-08-01 03:33:19.000 | 2879 2879 | 20 20 | 2005-08-09 07:58:19.000 | 1 1 | 2020-12-23 07:17:47 |
| 10616 | 2005-08-01 14:59:50.000 | 1094 1094 | 20 20 | 2005-08-07 11:38:50.000 | 2 2 | 2020-12-23 07:17:52 |
| 10954 | 2005-08-02 03:30:24.000 | 3406 3406 | 20 20 | 2005-08-08 05:52:24.000 | 2 2 | 2020-12-23 07:17:57 |
| 11821 | 2005-08-17 12:27:55.000 | 2711 2711 | 20 20 | 2005-08-18 07:07:55.000 | 1 1 | 2020-12-23 07:18:09 |
| 12180 | 2005-08-18 01:28:15.000 | 2276 2276 | 20 20 | 2005-08-20 20:52:15.000 | 2 2 | 2020-12-23 07:18:14 |
| 13036 | 2005-08-19 08:48:37.000 | 1469 1469 | 20 20 | 2005-08-22 04:13:37.000 | 2 2 | 2020-12-23 07:18:26 |
| 13137 | 2005-08-19 12:26:32.000 | 4431 4431 | 20 20 | 2005-08-22 13:26:32.000 | 1 1 | 2020-12-23 07:18:27 |
| 13317 | 2005-08-19 19:25:42.000 | 3349 3349 | 20 20 | 2005-08-20 20:57:42.000 | 2 2 | 2020-12-23 07:18:30 |
| 14613 | 2005-08-21 18:03:20.000 | 3841 3841 | 20 20 | 2005-08-26 19:46:20.000 | 1 1 | 2020-12-23 07:18:49 |
| 15057 | 2005-08-22 10:19:58.000 | 4534 4534 | 20 20 | 2005-08-28 05:12:58.000 | 1 1 | 2020-12-23 07:18:56 |
| 15161 | 2005-08-22 14:37:22.000 | 1445 1445 | 20 20 | 2005-08-27 17:40:22.000 | 1 1 | 2020-12-23 07:18:57 |
| 15248 | 2005-08-22 17:53:06.000 | 977 977 | 20 20 | 2005-08-25 18:43:06.000 | 2 2 | 2020-12-23 07:18:58 |
| 15460 | 2005-08-23 01:10:42.000 | 2907 2907 | 20 20 | 2005-08-28 20:49:42.000 | 2 2 | 2020-12-23 07:19:02 |
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) ;