rental
27 rows where customer_id = 383
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 |
|---|---|---|---|---|---|---|
| 63 | 2005-05-25 09:19:16.000 | 4008 4008 | 383 383 | 2005-05-27 04:24:16.000 | 1 1 | 2020-12-23 07:15:21 |
| 766 | 2005-05-29 11:47:02.000 | 2154 2154 | 383 383 | 2005-06-06 07:14:02.000 | 1 1 | 2020-12-23 07:15:30 |
| 1831 | 2005-06-16 22:22:17.000 | 2610 2610 | 383 383 | 2005-06-25 23:23:17.000 | 2 2 | 2020-12-23 07:15:44 |
| 2228 | 2005-06-18 03:44:50.000 | 490 490 | 383 383 | 2005-06-23 00:28:50.000 | 1 1 | 2020-12-23 07:15:50 |
| 2252 | 2005-06-18 05:05:18.000 | 1987 1987 | 383 383 | 2005-06-21 08:19:18.000 | 1 1 | 2020-12-23 07:15:50 |
| 2318 | 2005-06-18 09:13:54.000 | 2328 2328 | 383 383 | 2005-06-23 07:19:54.000 | 1 1 | 2020-12-23 07:15:51 |
| 2609 | 2005-06-19 07:13:12.000 | 2254 2254 | 383 383 | 2005-06-28 12:30:12.000 | 2 2 | 2020-12-23 07:15:56 |
| 3091 | 2005-06-20 16:02:59.000 | 854 854 | 383 383 | 2005-06-22 21:30:59.000 | 2 2 | 2020-12-23 07:16:02 |
| 4747 | 2005-07-08 13:53:01.000 | 3942 3942 | 383 383 | 2005-07-12 17:10:01.000 | 2 2 | 2020-12-23 07:16:27 |
| 6091 | 2005-07-11 05:49:18.000 | 580 580 | 383 383 | 2005-07-15 07:26:18.000 | 1 1 | 2020-12-23 07:16:46 |
| 6244 | 2005-07-11 14:53:38.000 | 1558 1558 | 383 383 | 2005-07-12 16:42:38.000 | 1 1 | 2020-12-23 07:16:48 |
| 6775 | 2005-07-12 16:01:44.000 | 2909 2909 | 383 383 | 2005-07-19 14:11:44.000 | 1 1 | 2020-12-23 07:16:56 |
| 7367 | 2005-07-27 15:05:45.000 | 1738 1738 | 383 383 | 2005-08-02 13:46:45.000 | 1 1 | 2020-12-23 07:17:05 |
| 8367 | 2005-07-29 05:11:19.000 | 4551 4551 | 383 383 | 2005-08-02 00:35:19.000 | 1 1 | 2020-12-23 07:17:20 |
| 8635 | 2005-07-29 14:22:48.000 | 2894 2894 | 383 383 | 2005-08-01 11:59:48.000 | 2 2 | 2020-12-23 07:17:24 |
| 9653 | 2005-07-31 05:55:38.000 | 1451 1451 | 383 383 | 2005-08-03 09:35:38.000 | 2 2 | 2020-12-23 07:17:39 |
| 9678 | 2005-07-31 06:40:47.000 | 3430 3430 | 383 383 | 2005-08-02 00:57:47.000 | 2 2 | 2020-12-23 07:17:39 |
| 10515 | 2005-08-01 11:41:33.000 | 874 874 | 383 383 | 2005-08-08 06:23:33.000 | 2 2 | 2020-12-23 07:17:51 |
| 10971 | 2005-08-02 04:08:17.000 | 2789 2789 | 383 383 | 2005-08-09 00:02:17.000 | 1 1 | 2020-12-23 07:17:57 |
| 10993 | 2005-08-02 04:45:01.000 | 292 292 | 383 383 | 2005-08-04 03:32:01.000 | 1 1 | 2020-12-23 07:17:57 |
| 11122 | 2005-08-02 08:49:09.000 | 3021 3021 | 383 383 | 2005-08-08 04:33:09.000 | 1 1 | 2020-12-23 07:17:59 |
| 11592 | 2005-08-17 02:36:04.000 | 720 720 | 383 383 | 2005-08-19 00:31:04.000 | 1 1 | 2020-12-23 07:18:06 |
| 12735 | 2005-08-18 22:04:54.000 | 3679 3679 | 383 383 | 2005-08-23 21:19:54.000 | 2 2 | 2020-12-23 07:18:21 |
| 14039 | 2005-08-20 21:39:43.000 | 4187 4187 | 383 383 | 2005-08-24 19:03:43.000 | 1 1 | 2020-12-23 07:18:41 |
| 14678 | 2005-08-21 20:12:43.000 | 1911 1911 | 383 383 | 2005-08-31 02:11:43.000 | 2 2 | 2020-12-23 07:18:50 |
| 15416 | 2005-08-22 23:51:23.000 | 1167 1167 | 383 383 | 2005-08-29 20:03:23.000 | 1 1 | 2020-12-23 07:19:01 |
| 15881 | 2005-08-23 16:44:25.000 | 617 617 | 383 383 | 2005-08-29 13:58:25.000 | 1 1 | 2020-12-23 07:19:08 |
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) ;