rental
38 rows where customer_id = 459
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 |
|---|---|---|---|---|---|---|
| 2 | 2005-05-24 22:54:33.000 | 1525 1525 | 459 459 | 2005-05-28 19:40:33.000 | 1 1 | 2020-12-23 07:15:20 |
| 1876 | 2005-06-17 02:50:51.000 | 384 384 | 459 459 | 2005-06-18 07:21:51.000 | 1 1 | 2020-12-23 07:15:45 |
| 1977 | 2005-06-17 09:38:22.000 | 2468 2468 | 459 459 | 2005-06-23 14:19:22.000 | 2 2 | 2020-12-23 07:15:46 |
| 2075 | 2005-06-17 16:40:33.000 | 2415 2415 | 459 459 | 2005-06-19 13:55:33.000 | 2 2 | 2020-12-23 07:15:48 |
| 2899 | 2005-06-20 02:39:21.000 | 1919 1919 | 459 459 | 2005-06-23 06:47:21.000 | 1 1 | 2020-12-23 07:15:59 |
| 3041 | 2005-06-20 12:35:44.000 | 2676 2676 | 459 459 | 2005-06-23 18:28:44.000 | 2 2 | 2020-12-23 07:16:01 |
| 3045 | 2005-06-20 12:42:00.000 | 3065 3065 | 459 459 | 2005-06-23 10:49:00.000 | 2 2 | 2020-12-23 07:16:01 |
| 3234 | 2005-06-21 02:39:44.000 | 3252 3252 | 459 459 | 2005-06-29 07:27:44.000 | 1 1 | 2020-12-23 07:16:04 |
| 3506 | 2005-07-06 00:22:29.000 | 19 19 | 459 459 | 2005-07-07 22:15:29.000 | 1 1 | 2020-12-23 07:16:08 |
| 4519 | 2005-07-08 02:51:23.000 | 4425 4425 | 459 459 | 2005-07-12 06:52:23.000 | 2 2 | 2020-12-23 07:16:23 |
| 5301 | 2005-07-09 15:42:10.000 | 245 245 | 459 459 | 2005-07-16 21:27:10.000 | 2 2 | 2020-12-23 07:16:35 |
| 5695 | 2005-07-10 09:43:40.000 | 440 440 | 459 459 | 2005-07-13 15:04:40.000 | 2 2 | 2020-12-23 07:16:41 |
| 6206 | 2005-07-11 12:32:14.000 | 1368 1368 | 459 459 | 2005-07-15 15:01:14.000 | 2 2 | 2020-12-23 07:16:48 |
| 6750 | 2005-07-12 14:49:39.000 | 3838 3838 | 459 459 | 2005-07-18 18:43:39.000 | 2 2 | 2020-12-23 07:16:56 |
| 7623 | 2005-07-28 00:37:41.000 | 1146 1146 | 459 459 | 2005-08-04 19:38:41.000 | 2 2 | 2020-12-23 07:17:09 |
| 7639 | 2005-07-28 01:14:36.000 | 767 767 | 459 459 | 2005-07-29 00:19:36.000 | 1 1 | 2020-12-23 07:17:09 |
| 7717 | 2005-07-28 04:33:54.000 | 730 730 | 459 459 | 2005-07-30 02:46:54.000 | 2 2 | 2020-12-23 07:17:10 |
| 7820 | 2005-07-28 08:28:51.000 | 4475 4475 | 459 459 | 2005-08-05 10:00:51.000 | 1 1 | 2020-12-23 07:17:12 |
| 7913 | 2005-07-28 11:47:23.000 | 4001 4001 | 459 459 | 2005-08-05 06:36:23.000 | 1 1 | 2020-12-23 07:17:13 |
| 8289 | 2005-07-29 02:23:24.000 | 4579 4579 | 459 459 | 2005-08-06 03:23:24.000 | 2 2 | 2020-12-23 07:17:19 |
| 8557 | 2005-07-29 11:19:59.000 | 1481 1481 | 459 459 | 2005-08-07 12:50:59.000 | 1 1 | 2020-12-23 07:17:23 |
| 8897 | 2005-07-30 01:00:17.000 | 1964 1964 | 459 459 | 2005-08-01 03:41:17.000 | 1 1 | 2020-12-23 07:17:28 |
| 9137 | 2005-07-30 10:09:24.000 | 840 840 | 459 459 | 2005-08-06 04:30:24.000 | 2 2 | 2020-12-23 07:17:31 |
| 9639 | 2005-07-31 05:32:10.000 | 1373 1373 | 459 459 | 2005-08-03 07:04:10.000 | 2 2 | 2020-12-23 07:17:38 |
| 9744 | 2005-07-31 09:15:38.000 | 839 839 | 459 459 | 2005-08-03 10:31:38.000 | 2 2 | 2020-12-23 07:17:40 |
| 10117 | 2005-07-31 21:14:31.000 | 1894 1894 | 459 459 | 2005-08-01 15:59:31.000 | 2 2 | 2020-12-23 07:17:45 |
| 10233 | 2005-08-01 01:54:23.000 | 4571 4571 | 459 459 | 2005-08-10 00:23:23.000 | 2 2 | 2020-12-23 07:17:47 |
| 10255 | 2005-08-01 02:46:13.000 | 4558 4558 | 459 459 | 2005-08-03 05:54:13.000 | 1 1 | 2020-12-23 07:17:47 |
| 10499 | 2005-08-01 11:00:20.000 | 3293 3293 | 459 459 | 2005-08-10 11:52:20.000 | 2 2 | 2020-12-23 07:17:51 |
| 10531 | 2005-08-01 12:06:30.000 | 3846 3846 | 459 459 | 2005-08-04 10:23:30.000 | 2 2 | 2020-12-23 07:17:51 |
| 12527 | 2005-08-18 13:48:46.000 | 2536 2536 | 459 459 | 2005-08-26 13:31:46.000 | 2 2 | 2020-12-23 07:18:18 |
| 12629 | 2005-08-18 17:40:33.000 | 1705 1705 | 459 459 | 2005-08-26 21:09:33.000 | 1 1 | 2020-12-23 07:18:20 |
| 13960 | 2005-08-20 18:16:26.000 | 4177 4177 | 459 459 | 2005-08-29 14:06:26.000 | 1 1 | 2020-12-23 07:18:40 |
| 13967 | 2005-08-20 18:28:46.000 | 2751 2751 | 459 459 | 2005-08-26 17:37:46.000 | 2 2 | 2020-12-23 07:18:40 |
| 14315 | 2005-08-21 07:56:39.000 | 1164 1164 | 459 459 | 2005-08-27 04:52:39.000 | 1 1 | 2020-12-23 07:18:45 |
| 15126 | 2005-08-22 12:53:58.000 | 1902 1902 | 459 459 | 2005-08-28 07:39:58.000 | 1 1 | 2020-12-23 07:18:57 |
| 15342 | 2005-08-22 20:56:41.000 | 3287 3287 | 459 459 | 2005-08-26 22:51:41.000 | 2 2 | 2020-12-23 07:19:00 |
| 15814 | 2005-08-23 14:52:50.000 | 4361 4361 | 459 459 | 2005-08-27 16:12:50.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) ;