rental
30 rows where customer_id = 391
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 |
|---|---|---|---|---|---|---|
| 73 | 2005-05-25 11:00:07.000 | 517 517 | 391 391 | 2005-06-01 13:56:07.000 | 2 2 | 2020-12-23 07:15:21 |
| 210 | 2005-05-26 08:14:15.000 | 1801 1801 | 391 391 | 2005-05-27 12:12:15.000 | 2 2 | 2020-12-23 07:15:22 |
| 317 | 2005-05-26 23:23:56.000 | 26 26 | 391 391 | 2005-06-01 19:56:56.000 | 2 2 | 2020-12-23 07:15:24 |
| 870 | 2005-05-30 04:25:47.000 | 2903 2903 | 391 391 | 2005-06-06 04:32:47.000 | 1 1 | 2020-12-23 07:15:31 |
| 891 | 2005-05-30 07:43:12.000 | 2611 2611 | 391 391 | 2005-06-08 09:21:12.000 | 1 1 | 2020-12-23 07:15:32 |
| 1232 | 2005-06-15 04:18:10.000 | 2743 2743 | 391 391 | 2005-06-17 06:02:10.000 | 2 2 | 2020-12-23 07:15:36 |
| 1931 | 2005-06-17 06:51:56.000 | 1411 1411 | 391 391 | 2005-06-22 08:27:56.000 | 1 1 | 2020-12-23 07:15:46 |
| 2045 | 2005-06-17 14:38:11.000 | 561 561 | 391 391 | 2005-06-26 13:44:11.000 | 2 2 | 2020-12-23 07:15:47 |
| 2690 | 2005-06-19 13:00:02.000 | 1381 1381 | 391 391 | 2005-06-27 14:29:02.000 | 1 1 | 2020-12-23 07:15:57 |
| 3163 | 2005-06-20 21:22:13.000 | 2632 2632 | 391 391 | 2005-06-26 15:22:13.000 | 2 2 | 2020-12-23 07:16:03 |
| 4188 | 2005-07-07 10:45:29.000 | 3243 3243 | 391 391 | 2005-07-16 09:39:29.000 | 1 1 | 2020-12-23 07:16:18 |
| 4716 | 2005-07-08 12:18:51.000 | 1923 1923 | 391 391 | 2005-07-11 11:06:51.000 | 2 2 | 2020-12-23 07:16:26 |
| 4753 | 2005-07-08 14:18:41.000 | 1642 1642 | 391 391 | 2005-07-09 10:00:41.000 | 2 2 | 2020-12-23 07:16:27 |
| 5583 | 2005-07-10 04:08:48.000 | 1242 1242 | 391 391 | 2005-07-19 07:59:48.000 | 1 1 | 2020-12-23 07:16:39 |
| 5599 | 2005-07-10 04:52:04.000 | 3054 3054 | 391 391 | 2005-07-13 05:19:04.000 | 1 1 | 2020-12-23 07:16:39 |
| 6302 | 2005-07-11 17:55:38.000 | 3221 3221 | 391 391 | 2005-07-17 22:11:38.000 | 1 1 | 2020-12-23 07:16:49 |
| 6463 | 2005-07-12 01:16:11.000 | 2930 2930 | 391 391 | 2005-07-13 01:37:11.000 | 1 1 | 2020-12-23 07:16:52 |
| 8016 | 2005-07-28 15:35:41.000 | 516 516 | 391 391 | 2005-07-30 20:06:41.000 | 2 2 | 2020-12-23 07:17:15 |
| 8908 | 2005-07-30 01:26:05.000 | 4498 4498 | 391 391 | 2005-07-31 20:39:05.000 | 1 1 | 2020-12-23 07:17:28 |
| 8913 | 2005-07-30 01:35:01.000 | 429 429 | 391 391 | 2005-08-06 06:13:01.000 | 1 1 | 2020-12-23 07:17:28 |
| 9225 | 2005-07-30 13:29:47.000 | 1992 1992 | 391 391 | 2005-08-02 17:08:47.000 | 2 2 | 2020-12-23 07:17:33 |
| 10210 | 2005-08-01 00:58:52.000 | 49 49 | 391 391 | 2005-08-10 01:16:52.000 | 1 1 | 2020-12-23 07:17:46 |
| 10406 | 2005-08-01 07:37:05.000 | 2614 2614 | 391 391 | 2005-08-02 06:11:05.000 | 1 1 | 2020-12-23 07:17:49 |
| 11151 | 2005-08-02 09:52:44.000 | 3939 3939 | 391 391 | 2005-08-05 06:29:44.000 | 2 2 | 2020-12-23 07:18:00 |
| 11434 | 2005-08-02 20:13:14.000 | 3154 3154 | 391 391 | 2005-08-05 15:01:14.000 | 1 1 | 2020-12-23 07:18:04 |
| 11602 | 2005-08-17 03:21:19.000 | 2082 2082 | 391 391 | 2005-08-19 05:23:19.000 | 1 1 | 2020-12-23 07:18:06 |
| 12090 | 2005-08-17 22:21:43.000 | 3392 3392 | 391 391 | 2005-08-20 23:53:43.000 | 2 2 | 2020-12-23 07:18:13 |
| 12100 | 2005-08-17 22:41:10.000 | 4365 4365 | 391 391 | 2005-08-24 21:31:10.000 | 2 2 | 2020-12-23 07:18:13 |
| 13980 | 2005-08-20 19:04:40.000 | 1067 1067 | 391 391 | 2005-08-21 18:36:40.000 | 2 2 | 2020-12-23 07:18:40 |
| 14381 | 2005-08-21 09:55:47.000 | 811 811 | 391 391 | 2005-08-25 08:23:47.000 | 1 1 | 2020-12-23 07:18:46 |
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) ;