rental
29 rows where customer_id = 54
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 |
|---|---|---|---|---|---|---|
| 198 | 2005-05-26 07:03:49.000 | 1789 1789 | 54 54 | 2005-06-04 11:45:49.000 | 1 1 | 2020-12-23 07:15:22 |
| 441 | 2005-05-27 18:11:05.000 | 1578 1578 | 54 54 | 2005-05-30 22:45:05.000 | 1 1 | 2020-12-23 07:15:25 |
| 545 | 2005-05-28 07:10:20.000 | 1086 1086 | 54 54 | 2005-06-04 01:47:20.000 | 2 2 | 2020-12-23 07:15:27 |
| 1556 | 2005-06-16 02:19:02.000 | 533 533 | 54 54 | 2005-06-17 22:36:02.000 | 2 2 | 2020-12-23 07:15:40 |
| 1571 | 2005-06-16 03:22:00.000 | 1019 1019 | 54 54 | 2005-06-22 23:27:00.000 | 1 1 | 2020-12-23 07:15:40 |
| 2323 | 2005-06-18 09:55:02.000 | 207 207 | 54 54 | 2005-06-23 07:19:02.000 | 1 1 | 2020-12-23 07:15:52 |
| 2647 | 2005-06-19 09:57:56.000 | 1954 1954 | 54 54 | 2005-06-22 15:55:56.000 | 1 1 | 2020-12-23 07:15:56 |
| 4657 | 2005-07-08 09:51:02.000 | 1002 1002 | 54 54 | 2005-07-09 09:29:02.000 | 2 2 | 2020-12-23 07:16:25 |
| 5055 | 2005-07-09 04:05:28.000 | 751 751 | 54 54 | 2005-07-14 04:26:28.000 | 2 2 | 2020-12-23 07:16:31 |
| 5929 | 2005-07-10 21:59:29.000 | 4303 4303 | 54 54 | 2005-07-14 20:20:29.000 | 2 2 | 2020-12-23 07:16:44 |
| 5992 | 2005-07-11 01:06:21.000 | 4216 4216 | 54 54 | 2005-07-13 19:15:21.000 | 2 2 | 2020-12-23 07:16:45 |
| 6338 | 2005-07-11 19:39:41.000 | 1691 1691 | 54 54 | 2005-07-18 01:13:41.000 | 2 2 | 2020-12-23 07:16:50 |
| 6560 | 2005-07-12 05:22:06.000 | 433 433 | 54 54 | 2005-07-15 00:04:06.000 | 2 2 | 2020-12-23 07:16:53 |
| 6813 | 2005-07-12 18:03:50.000 | 135 135 | 54 54 | 2005-07-16 16:30:50.000 | 1 1 | 2020-12-23 07:16:57 |
| 8992 | 2005-07-30 04:44:18.000 | 4478 4478 | 54 54 | 2005-08-01 00:29:18.000 | 1 1 | 2020-12-23 07:17:29 |
| 10489 | 2005-08-01 10:27:42.000 | 4067 4067 | 54 54 | 2005-08-07 12:56:42.000 | 1 1 | 2020-12-23 07:17:51 |
| 10882 | 2005-08-02 00:47:16.000 | 1349 1349 | 54 54 | 2005-08-09 22:11:16.000 | 1 1 | 2020-12-23 07:17:56 |
| 10956 | 2005-08-02 03:33:14.000 | 4372 4372 | 54 54 | 2005-08-09 09:20:14.000 | 2 2 | 2020-12-23 07:17:57 |
| 11182 | 2005-08-02 10:55:14.000 | 605 605 | 54 54 | 2005-08-06 05:58:14.000 | 1 1 | 2020-12-23 07:18:00 |
| 11887 | 2005-08-17 15:03:13.000 | 3290 3290 | 54 54 | 2005-08-19 09:49:13.000 | 1 1 | 2020-12-23 07:18:10 |
| 12526 | 2005-08-18 13:48:43.000 | 3541 3541 | 54 54 | 2005-08-19 10:05:43.000 | 1 1 | 2020-12-23 07:18:18 |
| 12775 | 2005-08-18 23:35:56.000 | 4374 4374 | 54 54 | 2005-08-26 18:37:56.000 | 1 1 | 2020-12-23 07:18:22 |
| 12811 | 2005-08-19 00:51:28.000 | 641 641 | 54 54 | 2005-08-24 01:57:28.000 | 2 2 | 2020-12-23 07:18:22 |
| 12872 | 2005-08-19 02:57:37.000 | 1975 1975 | 54 54 | 2005-08-22 23:23:37.000 | 1 1 | 2020-12-23 07:18:23 |
| 13315 | 2005-08-19 19:16:18.000 | 3151 3151 | 54 54 | 2005-08-21 20:58:18.000 | 1 1 | 2020-12-23 07:18:30 |
| 13890 | 2005-08-20 15:41:00.000 | 2965 2965 | 54 54 | 2005-08-22 16:00:00.000 | 1 1 | 2020-12-23 07:18:39 |
| 14215 | 2005-08-21 04:34:11.000 | 35 35 | 54 54 | 2005-08-27 10:30:11.000 | 2 2 | 2020-12-23 07:18:44 |
| 15226 | 2005-08-22 17:20:17.000 | 318 318 | 54 54 | 2005-08-31 15:36:17.000 | 1 1 | 2020-12-23 07:18:58 |
| 15567 | 2005-08-23 05:20:36.000 | 2506 2506 | 54 54 | 2005-08-24 10:09:36.000 | 2 2 | 2020-12-23 07:19:03 |
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) ;