rental
27 rows where customer_id = 58
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 |
|---|---|---|---|---|---|---|
| 230 | 2005-05-26 11:31:50.000 | 1085 1085 | 58 58 | 2005-05-30 15:22:50.000 | 1 1 | 2020-12-23 07:15:23 |
| 276 | 2005-05-26 17:16:07.000 | 1221 1221 | 58 58 | 2005-06-03 12:59:07.000 | 1 1 | 2020-12-23 07:15:23 |
| 761 | 2005-05-29 11:09:01.000 | 2342 2342 | 58 58 | 2005-06-03 16:18:01.000 | 2 2 | 2020-12-23 07:15:30 |
| 2191 | 2005-06-18 01:33:09.000 | 3369 3369 | 58 58 | 2005-06-19 20:18:09.000 | 1 1 | 2020-12-23 07:15:50 |
| 2543 | 2005-06-19 02:14:11.000 | 1729 1729 | 58 58 | 2005-06-21 00:40:11.000 | 2 2 | 2020-12-23 07:15:54 |
| 2906 | 2005-06-20 03:04:56.000 | 1087 1087 | 58 58 | 2005-06-23 05:57:56.000 | 2 2 | 2020-12-23 07:15:59 |
| 3685 | 2005-07-06 09:30:45.000 | 2015 2015 | 58 58 | 2005-07-11 15:16:45.000 | 2 2 | 2020-12-23 07:16:11 |
| 4131 | 2005-07-07 07:53:18.000 | 2621 2621 | 58 58 | 2005-07-08 04:48:18.000 | 1 1 | 2020-12-23 07:16:18 |
| 5439 | 2005-07-09 21:39:35.000 | 1993 1993 | 58 58 | 2005-07-13 17:45:35.000 | 2 2 | 2020-12-23 07:16:37 |
| 7063 | 2005-07-27 03:52:27.000 | 2125 2125 | 58 58 | 2005-08-04 07:53:27.000 | 1 1 | 2020-12-23 07:17:01 |
| 7487 | 2005-07-27 19:32:45.000 | 4451 4451 | 58 58 | 2005-07-28 15:11:45.000 | 1 1 | 2020-12-23 07:17:07 |
| 8853 | 2005-07-29 23:34:21.000 | 2323 2323 | 58 58 | 2005-07-31 21:20:21.000 | 2 2 | 2020-12-23 07:17:27 |
| 9561 | 2005-07-31 02:22:13.000 | 1079 1079 | 58 58 | 2005-08-03 07:00:13.000 | 2 2 | 2020-12-23 07:17:37 |
| 10037 | 2005-07-31 18:48:08.000 | 438 438 | 58 58 | 2005-08-09 19:11:08.000 | 2 2 | 2020-12-23 07:17:44 |
| 10068 | 2005-07-31 19:39:38.000 | 4000 4000 | 58 58 | 2005-08-05 22:49:38.000 | 1 1 | 2020-12-23 07:17:45 |
| 10256 | 2005-08-01 02:47:11.000 | 780 780 | 58 58 | 2005-08-05 05:21:11.000 | 2 2 | 2020-12-23 07:17:47 |
| 10668 | 2005-08-01 17:00:27.000 | 2085 2085 | 58 58 | 2005-08-02 14:49:27.000 | 2 2 | 2020-12-23 07:17:53 |
| 11416 | 2005-08-02 19:44:04.000 | 1848 1848 | 58 58 | 2005-08-11 15:30:04.000 | 1 1 | 2020-12-23 07:18:03 |
| 12292 | 2005-08-18 05:08:54.000 | 1417 1417 | 58 58 | 2005-08-27 02:51:54.000 | 1 1 | 2020-12-23 07:18:15 |
| 13194 | 2005-08-19 14:34:12.000 | 2473 2473 | 58 58 | 2005-08-26 10:18:12.000 | 2 2 | 2020-12-23 07:18:28 |
| 13207 | 2005-08-19 15:14:38.000 | 674 674 | 58 58 | 2005-08-27 16:09:38.000 | 1 1 | 2020-12-23 07:18:28 |
| 13930 | 2005-08-20 17:15:06.000 | 3585 3585 | 58 58 | 2005-08-21 14:29:06.000 | 1 1 | 2020-12-23 07:18:40 |
| 13973 | 2005-08-20 18:52:43.000 | 1181 1181 | 58 58 | 2005-08-21 19:11:43.000 | 1 1 | 2020-12-23 07:18:40 |
| 14305 | 2005-08-21 07:29:05.000 | 2056 2056 | 58 58 | 2005-08-27 08:18:05.000 | 1 1 | 2020-12-23 07:18:45 |
| 14665 | 2005-08-21 19:49:46.000 | 2896 2896 | 58 58 | 2005-08-30 18:00:46.000 | 1 1 | 2020-12-23 07:18:50 |
| 14989 | 2005-08-22 07:47:07.000 | 1431 1431 | 58 58 | 2005-08-26 04:42:07.000 | 2 2 | 2020-12-23 07:18:55 |
| 15326 | 2006-02-14 15:16:03.000 | 3320 3320 | 58 58 | 1 1 | 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) ;