rental
26 rows where customer_id = 219
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 |
|---|---|---|---|---|---|---|
| 414 | 2005-05-27 14:48:20.000 | 1019 1019 | 219 219 | 2005-05-31 14:39:20.000 | 2 2 | 2020-12-23 07:15:25 |
| 2417 | 2005-06-18 17:12:01.000 | 1956 1956 | 219 219 | 2005-06-26 13:32:01.000 | 1 1 | 2020-12-23 07:15:53 |
| 2580 | 2005-06-19 04:44:30.000 | 2527 2527 | 219 219 | 2005-06-23 04:15:30.000 | 1 1 | 2020-12-23 07:15:55 |
| 4678 | 2005-07-08 10:30:40.000 | 241 241 | 219 219 | 2005-07-13 11:08:40.000 | 1 1 | 2020-12-23 07:16:26 |
| 4910 | 2005-07-08 21:13:56.000 | 3675 3675 | 219 219 | 2005-07-18 02:39:56.000 | 2 2 | 2020-12-23 07:16:29 |
| 5123 | 2005-07-09 07:20:30.000 | 4278 4278 | 219 219 | 2005-07-14 05:24:30.000 | 1 1 | 2020-12-23 07:16:32 |
| 5416 | 2005-07-09 20:33:50.000 | 568 568 | 219 219 | 2005-07-14 01:50:50.000 | 2 2 | 2020-12-23 07:16:37 |
| 5475 | 2005-07-09 23:31:38.000 | 726 726 | 219 219 | 2005-07-12 03:51:38.000 | 1 1 | 2020-12-23 07:16:37 |
| 5739 | 2005-07-10 11:51:50.000 | 163 163 | 219 219 | 2005-07-19 17:40:50.000 | 1 1 | 2020-12-23 07:16:41 |
| 6172 | 2005-07-11 10:32:09.000 | 3514 3514 | 219 219 | 2005-07-14 16:23:09.000 | 1 1 | 2020-12-23 07:16:47 |
| 6209 | 2005-07-11 12:36:05.000 | 3091 3091 | 219 219 | 2005-07-17 14:48:05.000 | 2 2 | 2020-12-23 07:16:48 |
| 6501 | 2005-07-12 03:11:55.000 | 2851 2851 | 219 219 | 2005-07-16 02:08:55.000 | 2 2 | 2020-12-23 07:16:52 |
| 7335 | 2005-07-27 14:06:50.000 | 1219 1219 | 219 219 | 2005-08-05 18:27:50.000 | 2 2 | 2020-12-23 07:17:05 |
| 7726 | 2005-07-28 04:52:19.000 | 2578 2578 | 219 219 | 2005-08-04 09:05:19.000 | 1 1 | 2020-12-23 07:17:11 |
| 8430 | 2005-07-29 07:12:17.000 | 3377 3377 | 219 219 | 2005-08-03 09:53:17.000 | 2 2 | 2020-12-23 07:17:21 |
| 8536 | 2005-07-29 10:37:23.000 | 4510 4510 | 219 219 | 2005-07-31 07:21:23.000 | 2 2 | 2020-12-23 07:17:22 |
| 8652 | 2005-07-29 15:02:54.000 | 2729 2729 | 219 219 | 2005-08-07 17:21:54.000 | 2 2 | 2020-12-23 07:17:24 |
| 9712 | 2005-07-31 08:13:11.000 | 2487 2487 | 219 219 | 2005-08-08 12:40:11.000 | 2 2 | 2020-12-23 07:17:40 |
| 11328 | 2005-08-02 16:42:38.000 | 2031 2031 | 219 219 | 2005-08-04 21:02:38.000 | 1 1 | 2020-12-23 07:18:02 |
| 11577 | 2006-02-14 15:16:03.000 | 4106 4106 | 219 219 | 2 2 | 2020-12-23 07:18:06 | |
| 11791 | 2005-08-17 11:01:11.000 | 3640 3640 | 219 219 | 2005-08-22 06:31:11.000 | 2 2 | 2020-12-23 07:18:08 |
| 13765 | 2005-08-20 11:39:00.000 | 2104 2104 | 219 219 | 2005-08-21 06:05:00.000 | 1 1 | 2020-12-23 07:18:37 |
| 14029 | 2005-08-20 21:23:11.000 | 2653 2653 | 219 219 | 2005-08-22 18:01:11.000 | 2 2 | 2020-12-23 07:18:41 |
| 14588 | 2005-08-21 17:25:53.000 | 1350 1350 | 219 219 | 2005-08-28 21:47:53.000 | 2 2 | 2020-12-23 07:18:49 |
| 14688 | 2005-08-21 20:32:37.000 | 2573 2573 | 219 219 | 2005-08-27 00:06:37.000 | 2 2 | 2020-12-23 07:18:50 |
| 15283 | 2005-08-22 19:16:04.000 | 1688 1688 | 219 219 | 2005-08-31 21:05:04.000 | 1 1 | 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) ;