rental
29 rows where customer_id = 575
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 |
|---|---|---|---|---|---|---|
| 17 | 2005-05-25 01:06:36.000 | 830 830 | 575 575 | 2005-05-27 00:43:36.000 | 1 1 | 2020-12-23 07:15:20 |
| 395 | 2005-05-27 11:45:49.000 | 752 752 | 575 575 | 2005-05-31 13:42:49.000 | 1 1 | 2020-12-23 07:15:25 |
| 454 | 2005-05-27 19:31:36.000 | 3499 3499 | 575 575 | 2005-05-30 15:46:36.000 | 1 1 | 2020-12-23 07:15:26 |
| 769 | 2005-05-29 12:51:44.000 | 1523 1523 | 575 575 | 2005-06-01 17:43:44.000 | 1 1 | 2020-12-23 07:15:30 |
| 774 | 2005-05-29 13:19:43.000 | 1188 1188 | 575 575 | 2005-06-01 18:51:43.000 | 1 1 | 2020-12-23 07:15:30 |
| 1494 | 2005-06-15 21:54:20.000 | 244 244 | 575 575 | 2005-06-19 18:46:20.000 | 1 1 | 2020-12-23 07:15:39 |
| 1824 | 2005-06-16 21:51:04.000 | 2269 2269 | 575 575 | 2005-06-18 18:12:04.000 | 1 1 | 2020-12-23 07:15:44 |
| 1866 | 2005-06-17 01:53:19.000 | 2579 2579 | 575 575 | 2005-06-19 06:14:19.000 | 2 2 | 2020-12-23 07:15:45 |
| 3558 | 2005-07-06 02:49:06.000 | 1742 1742 | 575 575 | 2005-07-15 01:38:06.000 | 2 2 | 2020-12-23 07:16:09 |
| 5875 | 2005-07-10 19:06:47.000 | 964 964 | 575 575 | 2005-07-18 17:33:47.000 | 2 2 | 2020-12-23 07:16:43 |
| 6907 | 2005-07-12 22:03:49.000 | 2516 2516 | 575 575 | 2005-07-18 19:18:49.000 | 1 1 | 2020-12-23 07:16:58 |
| 7083 | 2005-07-27 04:28:39.000 | 2663 2663 | 575 575 | 2005-07-30 04:35:39.000 | 2 2 | 2020-12-23 07:17:01 |
| 7139 | 2005-07-27 06:52:21.000 | 846 846 | 575 575 | 2005-07-30 01:45:21.000 | 1 1 | 2020-12-23 07:17:02 |
| 8711 | 2005-07-29 17:27:15.000 | 3471 3471 | 575 575 | 2005-07-31 12:57:15.000 | 1 1 | 2020-12-23 07:17:25 |
| 8904 | 2005-07-30 01:08:33.000 | 3622 3622 | 575 575 | 2005-08-04 02:33:33.000 | 1 1 | 2020-12-23 07:17:28 |
| 8989 | 2005-07-30 04:39:19.000 | 954 954 | 575 575 | 2005-08-06 02:11:19.000 | 1 1 | 2020-12-23 07:17:29 |
| 9733 | 2005-07-31 08:57:35.000 | 1255 1255 | 575 575 | 2005-08-04 04:47:35.000 | 1 1 | 2020-12-23 07:17:40 |
| 10331 | 2005-08-01 04:57:14.000 | 4152 4152 | 575 575 | 2005-08-07 06:46:14.000 | 1 1 | 2020-12-23 07:17:48 |
| 10629 | 2005-08-01 15:33:32.000 | 997 997 | 575 575 | 2005-08-08 12:40:32.000 | 2 2 | 2020-12-23 07:17:53 |
| 11097 | 2005-08-02 08:05:46.000 | 2493 2493 | 575 575 | 2005-08-10 12:00:46.000 | 2 2 | 2020-12-23 07:17:59 |
| 11458 | 2005-08-02 21:24:02.000 | 3514 3514 | 575 575 | 2005-08-04 01:32:02.000 | 2 2 | 2020-12-23 07:18:04 |
| 12204 | 2005-08-18 02:20:35.000 | 304 304 | 575 575 | 2005-08-26 01:27:35.000 | 2 2 | 2020-12-23 07:18:14 |
| 12289 | 2005-08-18 05:05:28.000 | 443 443 | 575 575 | 2005-08-26 09:02:28.000 | 1 1 | 2020-12-23 07:18:15 |
| 12770 | 2005-08-18 23:29:00.000 | 1654 1654 | 575 575 | 2005-08-26 20:57:00.000 | 2 2 | 2020-12-23 07:18:22 |
| 13408 | 2005-08-19 22:34:51.000 | 2795 2795 | 575 575 | 2005-08-21 03:30:51.000 | 1 1 | 2020-12-23 07:18:31 |
| 13465 | 2005-08-20 00:54:14.000 | 1305 1305 | 575 575 | 2005-08-21 20:55:14.000 | 2 2 | 2020-12-23 07:18:32 |
| 14952 | 2005-08-22 06:20:07.000 | 2950 2950 | 575 575 | 2005-08-28 01:18:07.000 | 1 1 | 2020-12-23 07:18:54 |
| 15749 | 2005-08-23 12:33:41.000 | 4224 4224 | 575 575 | 2005-08-24 10:52:41.000 | 1 1 | 2020-12-23 07:19:06 |
| 15857 | 2005-08-23 15:59:51.000 | 2733 2733 | 575 575 | 2005-08-26 12:01:51.000 | 2 2 | 2020-12-23 07:19:07 |
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) ;