rental
26 rows where customer_id = 82
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 |
|---|---|---|---|---|---|---|
| 145 | 2005-05-25 23:59:03.000 | 3905 3905 | 82 82 | 2005-05-31 02:56:03.000 | 1 1 | 2020-12-23 07:15:22 |
| 288 | 2005-05-26 19:47:49.000 | 3546 3546 | 82 82 | 2005-06-03 20:53:49.000 | 2 2 | 2020-12-23 07:15:23 |
| 1438 | 2005-06-15 18:38:51.000 | 1816 1816 | 82 82 | 2005-06-17 23:50:51.000 | 1 1 | 2020-12-23 07:15:39 |
| 1570 | 2005-06-16 03:21:33.000 | 3711 3711 | 82 82 | 2005-06-22 22:03:33.000 | 2 2 | 2020-12-23 07:15:40 |
| 2506 | 2005-06-18 23:29:53.000 | 2308 2308 | 82 82 | 2005-06-25 18:11:53.000 | 2 2 | 2020-12-23 07:15:54 |
| 2819 | 2005-06-19 20:13:33.000 | 4100 4100 | 82 82 | 2005-06-26 16:44:33.000 | 1 1 | 2020-12-23 07:15:58 |
| 3332 | 2005-06-21 09:55:12.000 | 1975 1975 | 82 82 | 2005-06-25 08:32:12.000 | 2 2 | 2020-12-23 07:16:05 |
| 3680 | 2005-07-06 09:16:10.000 | 2427 2427 | 82 82 | 2005-07-08 07:52:10.000 | 2 2 | 2020-12-23 07:16:11 |
| 4598 | 2005-07-08 06:46:26.000 | 258 258 | 82 82 | 2005-07-16 01:21:26.000 | 1 1 | 2020-12-23 07:16:25 |
| 5746 | 2005-07-10 12:15:12.000 | 3071 3071 | 82 82 | 2005-07-16 07:02:12.000 | 1 1 | 2020-12-23 07:16:42 |
| 6082 | 2005-07-11 05:12:41.000 | 1091 1091 | 82 82 | 2005-07-16 03:40:41.000 | 2 2 | 2020-12-23 07:16:46 |
| 6708 | 2005-07-12 13:10:55.000 | 372 372 | 82 82 | 2005-07-21 07:36:55.000 | 1 1 | 2020-12-23 07:16:55 |
| 7733 | 2005-07-28 05:04:47.000 | 10 10 | 82 82 | 2005-08-05 05:12:47.000 | 2 2 | 2020-12-23 07:17:11 |
| 7873 | 2005-07-28 10:19:46.000 | 2947 2947 | 82 82 | 2005-07-31 04:43:46.000 | 2 2 | 2020-12-23 07:17:13 |
| 8487 | 2005-07-29 08:53:49.000 | 1893 1893 | 82 82 | 2005-07-31 09:10:49.000 | 2 2 | 2020-12-23 07:17:22 |
| 9277 | 2005-07-30 15:13:45.000 | 3734 3734 | 82 82 | 2005-08-05 10:25:45.000 | 2 2 | 2020-12-23 07:17:33 |
| 9305 | 2005-07-30 16:45:56.000 | 1224 1224 | 82 82 | 2005-08-08 21:15:56.000 | 2 2 | 2020-12-23 07:17:34 |
| 9447 | 2005-07-30 21:54:22.000 | 1053 1053 | 82 82 | 2005-08-09 01:07:22.000 | 2 2 | 2020-12-23 07:17:36 |
| 11093 | 2005-08-02 07:59:49.000 | 239 239 | 82 82 | 2005-08-11 06:01:49.000 | 1 1 | 2020-12-23 07:17:59 |
| 11688 | 2005-08-17 06:41:58.000 | 2229 2229 | 82 82 | 2005-08-25 04:38:58.000 | 1 1 | 2020-12-23 07:18:07 |
| 12470 | 2005-08-18 11:55:42.000 | 1290 1290 | 82 82 | 2005-08-24 08:27:42.000 | 2 2 | 2020-12-23 07:18:18 |
| 13032 | 2005-08-19 08:31:50.000 | 3699 3699 | 82 82 | 2005-08-23 04:00:50.000 | 2 2 | 2020-12-23 07:18:26 |
| 13847 | 2005-08-20 14:33:59.000 | 2647 2647 | 82 82 | 2005-08-25 08:49:59.000 | 1 1 | 2020-12-23 07:18:38 |
| 14518 | 2005-08-21 14:58:58.000 | 2734 2734 | 82 82 | 2005-08-24 13:19:58.000 | 2 2 | 2020-12-23 07:18:48 |
| 14892 | 2005-08-22 04:15:05.000 | 3061 3061 | 82 82 | 2005-08-31 06:07:05.000 | 1 1 | 2020-12-23 07:18:53 |
| 15516 | 2005-08-23 03:12:54.000 | 219 219 | 82 82 | 2005-08-30 04:02:54.000 | 1 1 | 2020-12-23 07:19:02 |
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) ;