rental
34 rows where customer_id = 38
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 |
|---|---|---|---|---|---|---|
| 1250 | 2005-06-15 05:55:40.000 | 4360 4360 | 38 38 | 2005-06-23 03:11:40.000 | 2 2 | 2020-12-23 07:15:36 |
| 2550 | 2005-06-19 02:49:55.000 | 1370 1370 | 38 38 | 2005-06-24 01:37:55.000 | 1 1 | 2020-12-23 07:15:55 |
| 2605 | 2005-06-19 06:48:01.000 | 2342 2342 | 38 38 | 2005-06-25 07:00:01.000 | 1 1 | 2020-12-23 07:15:55 |
| 3003 | 2005-06-20 10:00:51.000 | 616 616 | 38 38 | 2005-06-22 06:28:51.000 | 2 2 | 2020-12-23 07:16:01 |
| 3392 | 2005-06-21 15:12:44.000 | 3343 3343 | 38 38 | 2005-06-29 18:19:44.000 | 1 1 | 2020-12-23 07:16:06 |
| 4202 | 2005-07-07 11:23:48.000 | 2274 2274 | 38 38 | 2005-07-16 16:32:48.000 | 1 1 | 2020-12-23 07:16:19 |
| 4228 | 2005-07-07 12:42:02.000 | 1020 1020 | 38 38 | 2005-07-12 10:52:02.000 | 1 1 | 2020-12-23 07:16:19 |
| 4300 | 2005-07-07 16:36:16.000 | 1189 1189 | 38 38 | 2005-07-10 13:59:16.000 | 2 2 | 2020-12-23 07:16:20 |
| 4644 | 2005-07-08 09:14:29.000 | 3239 3239 | 38 38 | 2005-07-10 07:20:29.000 | 2 2 | 2020-12-23 07:16:25 |
| 5273 | 2005-07-09 14:31:24.000 | 4570 4570 | 38 38 | 2005-07-14 13:27:24.000 | 2 2 | 2020-12-23 07:16:34 |
| 5460 | 2005-07-09 22:46:14.000 | 2410 2410 | 38 38 | 2005-07-12 21:26:14.000 | 2 2 | 2020-12-23 07:16:37 |
| 5822 | 2005-07-10 16:10:39.000 | 1385 1385 | 38 38 | 2005-07-13 19:05:39.000 | 2 2 | 2020-12-23 07:16:43 |
| 6864 | 2005-07-12 19:59:25.000 | 2252 2252 | 38 38 | 2005-07-19 15:52:25.000 | 2 2 | 2020-12-23 07:16:58 |
| 6961 | 2005-07-27 00:10:49.000 | 2205 2205 | 38 38 | 2005-07-30 00:26:49.000 | 2 2 | 2020-12-23 07:16:59 |
| 7158 | 2005-07-27 07:23:58.000 | 2432 2432 | 38 38 | 2005-08-03 06:00:58.000 | 2 2 | 2020-12-23 07:17:02 |
| 7163 | 2005-07-27 07:36:11.000 | 3666 3666 | 38 38 | 2005-08-04 06:03:11.000 | 2 2 | 2020-12-23 07:17:02 |
| 7321 | 2005-07-27 13:33:38.000 | 3525 3525 | 38 38 | 2005-08-03 07:35:38.000 | 2 2 | 2020-12-23 07:17:05 |
| 7795 | 2005-07-28 07:28:16.000 | 1278 1278 | 38 38 | 2005-07-31 12:03:16.000 | 1 1 | 2020-12-23 07:17:12 |
| 8924 | 2005-07-30 02:08:58.000 | 2291 2291 | 38 38 | 2005-08-05 02:13:58.000 | 2 2 | 2020-12-23 07:17:28 |
| 9216 | 2005-07-30 13:11:19.000 | 2783 2783 | 38 38 | 2005-07-31 11:27:19.000 | 2 2 | 2020-12-23 07:17:32 |
| 9284 | 2005-07-30 15:25:19.000 | 3976 3976 | 38 38 | 2005-08-01 17:45:19.000 | 2 2 | 2020-12-23 07:17:33 |
| 9621 | 2005-07-31 04:21:08.000 | 325 325 | 38 38 | 2005-08-08 03:50:08.000 | 2 2 | 2020-12-23 07:17:38 |
| 10111 | 2005-07-31 21:08:33.000 | 3474 3474 | 38 38 | 2005-08-06 02:58:33.000 | 2 2 | 2020-12-23 07:17:45 |
| 10524 | 2005-08-01 11:53:12.000 | 4116 4116 | 38 38 | 2005-08-08 10:40:12.000 | 2 2 | 2020-12-23 07:17:51 |
| 11049 | 2005-08-02 06:15:40.000 | 4352 4352 | 38 38 | 2005-08-11 10:09:40.000 | 2 2 | 2020-12-23 07:17:58 |
| 11344 | 2005-08-02 17:13:26.000 | 365 365 | 38 38 | 2005-08-07 16:44:26.000 | 1 1 | 2020-12-23 07:18:02 |
| 11817 | 2005-08-17 12:20:01.000 | 2297 2297 | 38 38 | 2005-08-19 18:06:01.000 | 1 1 | 2020-12-23 07:18:09 |
| 12092 | 2005-08-17 22:28:15.000 | 3964 3964 | 38 38 | 2005-08-18 16:46:15.000 | 2 2 | 2020-12-23 07:18:13 |
| 12187 | 2005-08-18 01:45:50.000 | 3360 3360 | 38 38 | 2005-08-22 20:12:50.000 | 1 1 | 2020-12-23 07:18:14 |
| 14554 | 2005-08-21 16:03:01.000 | 31 31 | 38 38 | 2005-08-26 13:09:01.000 | 2 2 | 2020-12-23 07:18:48 |
| 14632 | 2005-08-21 18:48:06.000 | 2807 2807 | 38 38 | 2005-08-25 00:33:06.000 | 2 2 | 2020-12-23 07:18:49 |
| 14787 | 2005-08-22 00:25:59.000 | 2634 2634 | 38 38 | 2005-08-28 22:30:59.000 | 2 2 | 2020-12-23 07:18:52 |
| 15668 | 2005-08-23 09:02:04.000 | 1963 1963 | 38 38 | 2005-08-29 03:17:04.000 | 2 2 | 2020-12-23 07:19:04 |
| 15738 | 2005-08-23 11:55:50.000 | 556 556 | 38 38 | 2005-08-30 15:07:50.000 | 1 1 | 2020-12-23 07:19:05 |
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) ;