rental
14 rows where customer_id = 110
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 |
|---|---|---|---|---|---|---|
| 515 | 2005-05-28 03:10:10.000 | 3369 3369 | 110 110 | 2005-06-04 02:18:10.000 | 2 2 | 2020-12-23 07:15:26 |
| 538 | 2005-05-28 06:21:05.000 | 2262 2262 | 110 110 | 2005-06-02 01:22:05.000 | 2 2 | 2020-12-23 07:15:27 |
| 1528 | 2005-06-16 00:32:52.000 | 4297 4297 | 110 110 | 2005-06-25 01:07:52.000 | 2 2 | 2020-12-23 07:15:40 |
| 3587 | 2005-07-06 04:27:52.000 | 462 462 | 110 110 | 2005-07-13 08:19:52.000 | 1 1 | 2020-12-23 07:16:09 |
| 4317 | 2005-07-07 17:44:49.000 | 2234 2234 | 110 110 | 2005-07-08 21:48:49.000 | 2 2 | 2020-12-23 07:16:20 |
| 4827 | 2005-07-08 17:46:30.000 | 4455 4455 | 110 110 | 2005-07-11 14:12:30.000 | 2 2 | 2020-12-23 07:16:28 |
| 6160 | 2005-07-11 10:08:13.000 | 2716 2716 | 110 110 | 2005-07-14 08:18:13.000 | 1 1 | 2020-12-23 07:16:47 |
| 7474 | 2005-07-27 19:07:17.000 | 2971 2971 | 110 110 | 2005-07-30 00:37:17.000 | 1 1 | 2020-12-23 07:17:07 |
| 7542 | 2005-07-27 21:43:04.000 | 1912 1912 | 110 110 | 2005-07-30 00:02:04.000 | 1 1 | 2020-12-23 07:17:08 |
| 7570 | 2005-07-27 22:40:06.000 | 3189 3189 | 110 110 | 2005-07-28 23:14:06.000 | 1 1 | 2020-12-23 07:17:08 |
| 11647 | 2005-08-17 04:54:14.000 | 3016 3016 | 110 110 | 2005-08-23 04:16:14.000 | 2 2 | 2020-12-23 07:18:07 |
| 12585 | 2005-08-18 15:52:12.000 | 773 773 | 110 110 | 2005-08-22 21:00:12.000 | 1 1 | 2020-12-23 07:18:19 |
| 13723 | 2005-08-20 10:05:30.000 | 411 411 | 110 110 | 2005-08-27 07:43:30.000 | 2 2 | 2020-12-23 07:18:36 |
| 15381 | 2005-08-22 22:28:36.000 | 845 845 | 110 110 | 2005-08-24 19:26:36.000 | 2 2 | 2020-12-23 07:19:00 |
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) ;