rental
34 rows where customer_id = 66
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 933 | 2005-05-30 13:08:45.000 | 3672 3672 | 66 66 | 2005-06-01 18:56:45.000 | 1 1 | 2020-12-23 07:15:32 |
| 1236 | 2005-06-15 04:34:27.000 | 3182 3182 | 66 66 | 2005-06-18 08:15:27.000 | 1 1 | 2020-12-23 07:15:36 |
| 1907 | 2005-06-17 05:08:27.000 | 988 988 | 66 66 | 2005-06-23 09:13:27.000 | 1 1 | 2020-12-23 07:15:45 |
| 2106 | 2005-06-17 19:29:03.000 | 643 643 | 66 66 | 2005-06-23 18:17:03.000 | 2 2 | 2020-12-23 07:15:48 |
| 2571 | 2005-06-19 04:20:14.000 | 1800 1800 | 66 66 | 2005-06-21 07:28:14.000 | 2 2 | 2020-12-23 07:15:55 |
| 2577 | 2005-06-19 04:36:03.000 | 447 447 | 66 66 | 2005-06-28 00:38:03.000 | 2 2 | 2020-12-23 07:15:55 |
| 3334 | 2005-06-21 10:04:33.000 | 2491 2491 | 66 66 | 2005-06-29 06:09:33.000 | 2 2 | 2020-12-23 07:16:05 |
| 3395 | 2005-06-21 15:19:19.000 | 3764 3764 | 66 66 | 2005-06-29 14:23:19.000 | 2 2 | 2020-12-23 07:16:06 |
| 3573 | 2005-07-06 03:33:48.000 | 146 146 | 66 66 | 2005-07-07 22:39:48.000 | 1 1 | 2020-12-23 07:16:09 |
| 3757 | 2005-07-06 12:42:26.000 | 2816 2816 | 66 66 | 2005-07-11 10:30:26.000 | 1 1 | 2020-12-23 07:16:12 |
| 4088 | 2005-07-07 05:31:55.000 | 234 234 | 66 66 | 2005-07-15 07:35:55.000 | 1 1 | 2020-12-23 07:16:17 |
| 4108 | 2005-07-07 06:38:31.000 | 4535 4535 | 66 66 | 2005-07-08 10:44:31.000 | 1 1 | 2020-12-23 07:16:17 |
| 4165 | 2005-07-07 09:23:27.000 | 3845 3845 | 66 66 | 2005-07-15 06:00:27.000 | 1 1 | 2020-12-23 07:16:18 |
| 4911 | 2005-07-08 21:20:26.000 | 4479 4479 | 66 66 | 2005-07-15 03:11:26.000 | 1 1 | 2020-12-23 07:16:29 |
| 5915 | 2005-07-10 21:12:16.000 | 2464 2464 | 66 66 | 2005-07-15 16:59:16.000 | 2 2 | 2020-12-23 07:16:44 |
| 6290 | 2005-07-11 17:12:42.000 | 2634 2634 | 66 66 | 2005-07-19 21:53:42.000 | 2 2 | 2020-12-23 07:16:49 |
| 6348 | 2005-07-11 20:21:18.000 | 21 21 | 66 66 | 2005-07-19 15:56:18.000 | 2 2 | 2020-12-23 07:16:50 |
| 6402 | 2005-07-11 22:46:10.000 | 2576 2576 | 66 66 | 2005-07-16 04:02:10.000 | 1 1 | 2020-12-23 07:16:51 |
| 6995 | 2005-07-27 01:12:13.000 | 1630 1630 | 66 66 | 2005-07-29 21:26:13.000 | 1 1 | 2020-12-23 07:17:00 |
| 7872 | 2005-07-28 10:18:16.000 | 826 826 | 66 66 | 2005-07-31 10:57:16.000 | 1 1 | 2020-12-23 07:17:13 |
| 9091 | 2005-07-30 08:30:45.000 | 2249 2249 | 66 66 | 2005-08-07 13:28:45.000 | 1 1 | 2020-12-23 07:17:30 |
| 10419 | 2005-08-01 08:13:22.000 | 415 415 | 66 66 | 2005-08-06 04:45:22.000 | 2 2 | 2020-12-23 07:17:49 |
| 11028 | 2005-08-02 05:48:20.000 | 2764 2764 | 66 66 | 2005-08-10 11:21:20.000 | 1 1 | 2020-12-23 07:17:58 |
| 11360 | 2005-08-02 17:46:04.000 | 1750 1750 | 66 66 | 2005-08-04 21:02:04.000 | 2 2 | 2020-12-23 07:18:03 |
| 11683 | 2005-08-17 06:15:17.000 | 2603 2603 | 66 66 | 2005-08-26 05:33:17.000 | 1 1 | 2020-12-23 07:18:07 |
| 11935 | 2005-08-17 16:42:13.000 | 1640 1640 | 66 66 | 2005-08-22 20:38:13.000 | 2 2 | 2020-12-23 07:18:10 |
| 12699 | 2005-08-18 20:20:59.000 | 3695 3695 | 66 66 | 2005-08-22 17:00:59.000 | 1 1 | 2020-12-23 07:18:21 |
| 13900 | 2005-08-20 16:05:41.000 | 1140 1140 | 66 66 | 2005-08-22 15:13:41.000 | 1 1 | 2020-12-23 07:18:39 |
| 14123 | 2005-08-21 01:31:25.000 | 143 143 | 66 66 | 2005-08-23 02:32:25.000 | 1 1 | 2020-12-23 07:18:42 |
| 14217 | 2005-08-21 04:37:56.000 | 2847 2847 | 66 66 | 2005-08-26 03:55:56.000 | 2 2 | 2020-12-23 07:18:44 |
| 14351 | 2005-08-21 09:04:20.000 | 2037 2037 | 66 66 | 2005-08-25 05:27:20.000 | 1 1 | 2020-12-23 07:18:46 |
| 14429 | 2005-08-21 11:29:43.000 | 2513 2513 | 66 66 | 2005-08-24 12:05:43.000 | 1 1 | 2020-12-23 07:18:47 |
| 15026 | 2005-08-22 09:01:52.000 | 4328 4328 | 66 66 | 2005-08-28 09:21:52.000 | 1 1 | 2020-12-23 07:18:55 |
| 15598 | 2005-08-23 06:23:26.000 | 2794 2794 | 66 66 | 2005-09-01 05:43:26.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) ;