rental
25 rows where customer_id = 69
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 |
|---|---|---|---|---|---|---|
| 584 | 2005-05-28 11:49:00.000 | 1833 1833 | 69 69 | 2005-06-01 11:54:00.000 | 1 1 | 2020-12-23 07:15:27 |
| 765 | 2005-05-29 11:38:34.000 | 515 515 | 69 69 | 2005-06-02 17:04:34.000 | 1 1 | 2020-12-23 07:15:30 |
| 1549 | 2005-06-16 01:57:15.000 | 266 266 | 69 69 | 2005-06-18 23:30:15.000 | 1 1 | 2020-12-23 07:15:40 |
| 3358 | 2005-06-21 11:56:40.000 | 1772 1772 | 69 69 | 2005-06-26 08:28:40.000 | 2 2 | 2020-12-23 07:16:06 |
| 3883 | 2005-07-06 18:39:38.000 | 3238 3238 | 69 69 | 2005-07-14 15:59:38.000 | 2 2 | 2020-12-23 07:16:14 |
| 4265 | 2005-07-07 14:27:51.000 | 1685 1685 | 69 69 | 2005-07-12 19:55:51.000 | 2 2 | 2020-12-23 07:16:19 |
| 4427 | 2005-07-07 22:28:51.000 | 1021 1021 | 69 69 | 2005-07-11 21:37:51.000 | 2 2 | 2020-12-23 07:16:22 |
| 5569 | 2005-07-10 03:38:32.000 | 2835 2835 | 69 69 | 2005-07-16 00:02:32.000 | 2 2 | 2020-12-23 07:16:39 |
| 6297 | 2005-07-11 17:37:22.000 | 2738 2738 | 69 69 | 2005-07-19 13:54:22.000 | 2 2 | 2020-12-23 07:16:49 |
| 6385 | 2005-07-11 22:07:32.000 | 1830 1830 | 69 69 | 2005-07-20 16:57:32.000 | 1 1 | 2020-12-23 07:16:50 |
| 6785 | 2005-07-12 16:30:57.000 | 4448 4448 | 69 69 | 2005-07-18 20:46:57.000 | 1 1 | 2020-12-23 07:16:56 |
| 8649 | 2005-07-29 14:57:33.000 | 789 789 | 69 69 | 2005-08-07 09:43:33.000 | 2 2 | 2020-12-23 07:17:24 |
| 9193 | 2005-07-30 12:28:42.000 | 3470 3470 | 69 69 | 2005-08-02 12:17:42.000 | 2 2 | 2020-12-23 07:17:32 |
| 9612 | 2005-07-31 03:58:31.000 | 2142 2142 | 69 69 | 2005-08-04 07:34:31.000 | 2 2 | 2020-12-23 07:17:38 |
| 10074 | 2005-07-31 19:57:16.000 | 1268 1268 | 69 69 | 2005-08-04 00:54:16.000 | 1 1 | 2020-12-23 07:17:45 |
| 11943 | 2005-08-17 17:00:42.000 | 4466 4466 | 69 69 | 2005-08-26 22:07:42.000 | 1 1 | 2020-12-23 07:18:11 |
| 11995 | 2006-02-14 15:16:03.000 | 3953 3953 | 69 69 | 1 1 | 2020-12-23 07:18:11 | |
| 12012 | 2005-08-17 19:20:48.000 | 2698 2698 | 69 69 | 2005-08-22 16:50:48.000 | 1 1 | 2020-12-23 07:18:11 |
| 12121 | 2005-08-17 23:20:40.000 | 3423 3423 | 69 69 | 2005-08-22 21:30:40.000 | 2 2 | 2020-12-23 07:18:13 |
| 12966 | 2005-08-19 06:37:48.000 | 3196 3196 | 69 69 | 2005-08-26 03:59:48.000 | 2 2 | 2020-12-23 07:18:25 |
| 13023 | 2005-08-19 08:13:54.000 | 1566 1566 | 69 69 | 2005-08-27 13:18:54.000 | 1 1 | 2020-12-23 07:18:26 |
| 14311 | 2005-08-21 07:45:47.000 | 1761 1761 | 69 69 | 2005-08-27 02:23:47.000 | 2 2 | 2020-12-23 07:18:45 |
| 14685 | 2005-08-21 20:31:25.000 | 1320 1320 | 69 69 | 2005-08-22 21:02:25.000 | 1 1 | 2020-12-23 07:18:50 |
| 14767 | 2005-08-21 23:43:00.000 | 1232 1232 | 69 69 | 2005-08-29 05:26:00.000 | 1 1 | 2020-12-23 07:18:51 |
| 15547 | 2005-08-23 04:25:50.000 | 1488 1488 | 69 69 | 2005-08-26 00:57:50.000 | 1 1 | 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) ;