rental
29 rows where customer_id = 573
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 |
|---|---|---|---|---|---|---|
| 827 | 2005-05-29 21:58:43.000 | 62 62 | 573 573 | 2005-06-06 00:54:43.000 | 1 1 | 2020-12-23 07:15:31 |
| 1613 | 2005-06-16 06:55:10.000 | 4462 4462 | 573 573 | 2005-06-24 12:08:10.000 | 1 1 | 2020-12-23 07:15:41 |
| 2622 | 2005-06-19 08:10:41.000 | 1393 1393 | 573 573 | 2005-06-28 10:44:41.000 | 2 2 | 2020-12-23 07:15:56 |
| 2995 | 2005-06-20 09:18:22.000 | 4544 4544 | 573 573 | 2005-06-26 14:31:22.000 | 1 1 | 2020-12-23 07:16:01 |
| 3295 | 2005-06-21 07:04:17.000 | 1703 1703 | 573 573 | 2005-06-29 01:52:17.000 | 1 1 | 2020-12-23 07:16:05 |
| 3768 | 2005-07-06 13:07:30.000 | 3995 3995 | 573 573 | 2005-07-09 16:26:30.000 | 2 2 | 2020-12-23 07:16:12 |
| 3930 | 2005-07-06 20:54:07.000 | 165 165 | 573 573 | 2005-07-10 18:31:07.000 | 1 1 | 2020-12-23 07:16:14 |
| 4023 | 2005-07-07 01:55:25.000 | 274 274 | 573 573 | 2005-07-08 02:43:25.000 | 2 2 | 2020-12-23 07:16:16 |
| 4085 | 2005-07-07 05:25:39.000 | 1683 1683 | 573 573 | 2005-07-12 04:30:39.000 | 1 1 | 2020-12-23 07:16:17 |
| 4609 | 2005-07-08 07:22:29.000 | 3711 3711 | 573 573 | 2005-07-10 08:06:29.000 | 1 1 | 2020-12-23 07:16:25 |
| 4770 | 2005-07-08 15:29:46.000 | 2406 2406 | 573 573 | 2005-07-14 13:31:46.000 | 1 1 | 2020-12-23 07:16:27 |
| 5036 | 2005-07-09 02:58:41.000 | 75 75 | 573 573 | 2005-07-17 04:09:41.000 | 1 1 | 2020-12-23 07:16:31 |
| 5522 | 2005-07-10 01:46:29.000 | 2622 2622 | 573 573 | 2005-07-18 00:41:29.000 | 2 2 | 2020-12-23 07:16:38 |
| 5903 | 2005-07-10 20:39:04.000 | 1388 1388 | 573 573 | 2005-07-11 17:41:04.000 | 1 1 | 2020-12-23 07:16:44 |
| 6693 | 2005-07-12 12:37:00.000 | 2014 2014 | 573 573 | 2005-07-20 09:36:00.000 | 1 1 | 2020-12-23 07:16:55 |
| 8400 | 2005-07-29 06:23:56.000 | 3680 3680 | 573 573 | 2005-07-31 02:41:56.000 | 2 2 | 2020-12-23 07:17:20 |
| 9837 | 2005-07-31 12:14:19.000 | 3488 3488 | 573 573 | 2005-08-09 17:08:19.000 | 1 1 | 2020-12-23 07:17:41 |
| 9846 | 2005-07-31 12:30:12.000 | 4240 4240 | 573 573 | 2005-08-05 08:24:12.000 | 2 2 | 2020-12-23 07:17:42 |
| 9963 | 2005-07-31 16:16:46.000 | 1609 1609 | 573 573 | 2005-08-02 22:00:46.000 | 1 1 | 2020-12-23 07:17:43 |
| 9971 | 2005-07-31 16:42:16.000 | 2674 2674 | 573 573 | 2005-08-09 18:08:16.000 | 2 2 | 2020-12-23 07:17:43 |
| 10296 | 2005-08-01 04:04:37.000 | 1958 1958 | 573 573 | 2005-08-01 23:59:37.000 | 1 1 | 2020-12-23 07:17:48 |
| 10887 | 2005-08-02 00:52:35.000 | 3450 3450 | 573 573 | 2005-08-03 05:37:35.000 | 1 1 | 2020-12-23 07:17:56 |
| 11043 | 2005-08-02 06:04:44.000 | 65 65 | 573 573 | 2005-08-06 11:37:44.000 | 1 1 | 2020-12-23 07:17:58 |
| 11912 | 2005-08-17 15:51:49.000 | 744 744 | 573 573 | 2005-08-24 18:48:49.000 | 1 1 | 2020-12-23 07:18:10 |
| 12017 | 2005-08-17 19:33:49.000 | 344 344 | 573 573 | 2005-08-22 01:16:49.000 | 2 2 | 2020-12-23 07:18:12 |
| 12125 | 2005-08-17 23:24:25.000 | 136 136 | 573 573 | 2005-08-25 03:08:25.000 | 2 2 | 2020-12-23 07:18:13 |
| 12269 | 2005-08-18 04:27:54.000 | 724 724 | 573 573 | 2005-08-25 07:03:54.000 | 1 1 | 2020-12-23 07:18:15 |
| 12791 | 2005-08-19 00:17:09.000 | 3594 3594 | 573 573 | 2005-08-22 23:46:09.000 | 1 1 | 2020-12-23 07:18:22 |
| 13113 | 2005-08-19 11:27:20.000 | 2393 2393 | 573 573 | 2005-08-23 12:40:20.000 | 1 1 | 2020-12-23 07:18:27 |
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) ;