rental
28 rows where customer_id = 461
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 |
|---|---|---|---|---|---|---|
| 684 | 2005-05-29 00:13:15.000 | 3242 3242 | 461 461 | 2005-06-04 21:26:15.000 | 2 2 | 2020-12-23 07:15:29 |
| 3127 | 2005-06-20 18:39:43.000 | 1292 1292 | 461 461 | 2005-06-28 17:55:43.000 | 1 1 | 2020-12-23 07:16:02 |
| 3319 | 2005-06-21 08:25:46.000 | 2482 2482 | 461 461 | 2005-06-27 03:54:46.000 | 2 2 | 2020-12-23 07:16:05 |
| 3698 | 2005-07-06 10:09:20.000 | 1263 1263 | 461 461 | 2005-07-08 15:49:20.000 | 1 1 | 2020-12-23 07:16:11 |
| 4586 | 2005-07-08 06:12:33.000 | 1374 1374 | 461 461 | 2005-07-13 11:06:33.000 | 2 2 | 2020-12-23 07:16:24 |
| 5650 | 2005-07-10 07:17:01.000 | 2793 2793 | 461 461 | 2005-07-15 11:59:01.000 | 1 1 | 2020-12-23 07:16:40 |
| 5809 | 2005-07-10 15:19:30.000 | 1748 1748 | 461 461 | 2005-07-13 12:31:30.000 | 2 2 | 2020-12-23 07:16:42 |
| 7334 | 2005-07-27 13:59:58.000 | 3006 3006 | 461 461 | 2005-07-29 11:33:58.000 | 1 1 | 2020-12-23 07:17:05 |
| 7664 | 2005-07-28 02:24:23.000 | 1989 1989 | 461 461 | 2005-07-29 23:01:23.000 | 1 1 | 2020-12-23 07:17:10 |
| 8133 | 2005-07-28 20:01:06.000 | 849 849 | 461 461 | 2005-08-01 20:01:06.000 | 1 1 | 2020-12-23 07:17:16 |
| 8164 | 2005-07-28 21:17:19.000 | 1674 1674 | 461 461 | 2005-07-30 21:12:19.000 | 2 2 | 2020-12-23 07:17:17 |
| 9499 | 2005-07-30 23:58:30.000 | 602 602 | 461 461 | 2005-08-01 00:55:30.000 | 2 2 | 2020-12-23 07:17:36 |
| 9885 | 2005-07-31 13:59:32.000 | 3600 3600 | 461 461 | 2005-08-07 12:30:32.000 | 2 2 | 2020-12-23 07:17:42 |
| 10113 | 2005-07-31 21:10:03.000 | 3974 3974 | 461 461 | 2005-08-02 21:13:03.000 | 2 2 | 2020-12-23 07:17:45 |
| 10260 | 2005-08-01 02:58:07.000 | 2864 2864 | 461 461 | 2005-08-05 02:06:07.000 | 2 2 | 2020-12-23 07:17:47 |
| 11063 | 2005-08-02 06:53:48.000 | 2261 2261 | 461 461 | 2005-08-05 03:38:48.000 | 2 2 | 2020-12-23 07:17:58 |
| 11219 | 2005-08-02 12:30:20.000 | 2889 2889 | 461 461 | 2005-08-08 13:42:20.000 | 2 2 | 2020-12-23 07:18:00 |
| 12022 | 2005-08-17 19:52:45.000 | 2067 2067 | 461 461 | 2005-08-18 18:26:45.000 | 2 2 | 2020-12-23 07:18:12 |
| 13223 | 2005-08-19 15:52:04.000 | 332 332 | 461 461 | 2005-08-22 16:27:04.000 | 1 1 | 2020-12-23 07:18:29 |
| 13269 | 2005-08-19 17:34:00.000 | 2382 2382 | 461 461 | 2005-08-20 15:17:00.000 | 2 2 | 2020-12-23 07:18:29 |
| 14186 | 2005-08-21 03:31:07.000 | 3158 3158 | 461 461 | 2005-08-28 07:29:07.000 | 2 2 | 2020-12-23 07:18:44 |
| 14893 | 2005-08-22 04:15:48.000 | 2336 2336 | 461 461 | 2005-08-30 08:05:48.000 | 1 1 | 2020-12-23 07:18:53 |
| 15067 | 2005-08-22 10:49:21.000 | 3684 3684 | 461 461 | 2005-08-24 09:01:21.000 | 1 1 | 2020-12-23 07:18:56 |
| 15187 | 2005-08-22 15:53:32.000 | 2338 2338 | 461 461 | 2005-08-27 14:21:32.000 | 1 1 | 2020-12-23 07:18:57 |
| 15336 | 2005-08-22 20:47:48.000 | 490 490 | 461 461 | 2005-08-31 18:17:48.000 | 2 2 | 2020-12-23 07:19:00 |
| 15411 | 2005-08-22 23:35:41.000 | 4423 4423 | 461 461 | 2005-08-26 00:51:41.000 | 1 1 | 2020-12-23 07:19:01 |
| 15449 | 2005-08-23 00:55:43.000 | 2856 2856 | 461 461 | 2005-08-28 03:41:43.000 | 1 1 | 2020-12-23 07:19:01 |
| 15613 | 2005-08-23 07:03:19.000 | 307 307 | 461 461 | 2005-08-31 07:50:19.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;