rental
29 rows where customer_id = 173
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 |
|---|---|---|---|---|---|---|
| 578 | 2005-05-28 11:15:48.000 | 2938 2938 | 173 173 | 2005-06-02 09:59:48.000 | 1 1 | 2020-12-23 07:15:27 |
| 628 | 2005-05-28 17:05:46.000 | 2513 2513 | 173 173 | 2005-06-06 16:29:46.000 | 2 2 | 2020-12-23 07:15:28 |
| 1188 | 2005-06-15 01:04:07.000 | 246 246 | 173 173 | 2005-06-19 03:48:07.000 | 1 1 | 2020-12-23 07:15:36 |
| 2435 | 2005-06-18 18:12:26.000 | 3548 3548 | 173 173 | 2005-06-22 13:43:26.000 | 2 2 | 2020-12-23 07:15:53 |
| 2602 | 2005-06-19 06:10:08.000 | 4124 4124 | 173 173 | 2005-06-24 00:39:08.000 | 2 2 | 2020-12-23 07:15:55 |
| 3224 | 2005-06-21 02:11:36.000 | 3318 3318 | 173 173 | 2005-06-23 21:17:36.000 | 1 1 | 2020-12-23 07:16:04 |
| 3336 | 2005-06-21 10:14:27.000 | 2122 2122 | 173 173 | 2005-06-22 09:29:27.000 | 1 1 | 2020-12-23 07:16:05 |
| 3717 | 2005-07-06 10:53:34.000 | 1677 1677 | 173 173 | 2005-07-07 13:43:34.000 | 2 2 | 2020-12-23 07:16:11 |
| 4904 | 2005-07-08 20:53:27.000 | 2051 2051 | 173 173 | 2005-07-18 01:16:27.000 | 1 1 | 2020-12-23 07:16:29 |
| 5430 | 2005-07-09 21:19:54.000 | 1441 1441 | 173 173 | 2005-07-15 22:53:54.000 | 1 1 | 2020-12-23 07:16:37 |
| 5485 | 2005-07-09 23:55:25.000 | 3930 3930 | 173 173 | 2005-07-14 04:08:25.000 | 1 1 | 2020-12-23 07:16:38 |
| 5488 | 2005-07-10 00:02:06.000 | 4262 4262 | 173 173 | 2005-07-15 01:45:06.000 | 2 2 | 2020-12-23 07:16:38 |
| 5531 | 2005-07-10 02:13:59.000 | 2992 2992 | 173 173 | 2005-07-15 00:01:59.000 | 2 2 | 2020-12-23 07:16:38 |
| 5615 | 2005-07-10 05:18:51.000 | 1521 1521 | 173 173 | 2005-07-17 11:05:51.000 | 2 2 | 2020-12-23 07:16:39 |
| 6021 | 2005-07-11 02:10:18.000 | 3949 3949 | 173 173 | 2005-07-13 05:19:18.000 | 1 1 | 2020-12-23 07:16:45 |
| 7644 | 2005-07-28 01:27:33.000 | 882 882 | 173 173 | 2005-07-31 22:58:33.000 | 2 2 | 2020-12-23 07:17:09 |
| 8299 | 2005-07-29 02:56:00.000 | 1797 1797 | 173 173 | 2005-07-30 22:35:00.000 | 2 2 | 2020-12-23 07:17:19 |
| 8808 | 2005-07-29 21:39:07.000 | 593 593 | 173 173 | 2005-08-03 02:09:07.000 | 2 2 | 2020-12-23 07:17:26 |
| 8829 | 2005-07-29 22:33:34.000 | 1466 1466 | 173 173 | 2005-08-05 20:23:34.000 | 2 2 | 2020-12-23 07:17:27 |
| 9097 | 2005-07-30 08:40:35.000 | 570 570 | 173 173 | 2005-08-04 11:19:35.000 | 2 2 | 2020-12-23 07:17:31 |
| 9512 | 2005-07-31 00:26:30.000 | 3786 3786 | 173 173 | 2005-08-04 23:43:30.000 | 2 2 | 2020-12-23 07:17:37 |
| 10351 | 2005-08-01 05:32:13.000 | 3725 3725 | 173 173 | 2005-08-08 09:48:13.000 | 1 1 | 2020-12-23 07:17:48 |
| 12073 | 2005-08-17 21:50:39.000 | 2939 2939 | 173 173 | 2005-08-21 02:59:39.000 | 1 1 | 2020-12-23 07:18:12 |
| 12282 | 2005-08-18 04:54:20.000 | 3623 3623 | 173 173 | 2005-08-23 05:28:20.000 | 2 2 | 2020-12-23 07:18:15 |
| 12501 | 2005-08-18 13:13:13.000 | 728 728 | 173 173 | 2005-08-23 07:24:13.000 | 2 2 | 2020-12-23 07:18:18 |
| 14654 | 2005-08-21 19:36:59.000 | 687 687 | 173 173 | 2005-08-23 22:03:59.000 | 2 2 | 2020-12-23 07:18:50 |
| 15483 | 2005-08-23 02:02:53.000 | 2970 2970 | 173 173 | 2005-08-26 04:13:53.000 | 1 1 | 2020-12-23 07:19:02 |
| 15775 | 2005-08-23 13:25:44.000 | 2146 2146 | 173 173 | 2005-09-01 16:56:44.000 | 1 1 | 2020-12-23 07:19:06 |
| 16010 | 2005-08-23 21:10:24.000 | 2539 2539 | 173 173 | 2005-08-25 17:58:24.000 | 1 1 | 2020-12-23 07:19:09 |
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) ;