rental
33 rows where customer_id = 390
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 |
|---|---|---|---|---|---|---|
| 254 | 2005-05-26 14:43:48.000 | 1835 1835 | 390 390 | 2005-05-31 09:19:48.000 | 2 2 | 2020-12-23 07:15:23 |
| 912 | 2005-05-30 10:58:33.000 | 3200 3200 | 390 390 | 2005-05-31 09:31:33.000 | 2 2 | 2020-12-23 07:15:32 |
| 1539 | 2005-06-16 01:11:25.000 | 267 267 | 390 390 | 2005-06-23 03:43:25.000 | 2 2 | 2020-12-23 07:15:40 |
| 1730 | 2005-06-16 15:30:01.000 | 1372 1372 | 390 390 | 2005-06-19 12:56:01.000 | 1 1 | 2020-12-23 07:15:43 |
| 1893 | 2005-06-17 04:18:37.000 | 3346 3346 | 390 390 | 2005-06-23 23:35:37.000 | 2 2 | 2020-12-23 07:15:45 |
| 2330 | 2005-06-18 10:41:19.000 | 4285 4285 | 390 390 | 2005-06-25 10:48:19.000 | 1 1 | 2020-12-23 07:15:52 |
| 3147 | 2005-06-20 20:25:17.000 | 615 615 | 390 390 | 2005-06-28 20:22:17.000 | 2 2 | 2020-12-23 07:16:03 |
| 3999 | 2005-07-06 23:50:54.000 | 707 707 | 390 390 | 2005-07-09 22:09:54.000 | 1 1 | 2020-12-23 07:16:15 |
| 4022 | 2005-07-07 01:50:06.000 | 3914 3914 | 390 390 | 2005-07-09 21:47:06.000 | 2 2 | 2020-12-23 07:16:16 |
| 4191 | 2005-07-07 10:56:14.000 | 2475 2475 | 390 390 | 2005-07-11 09:56:14.000 | 1 1 | 2020-12-23 07:16:18 |
| 4310 | 2005-07-07 17:30:56.000 | 3842 3842 | 390 390 | 2005-07-12 13:19:56.000 | 2 2 | 2020-12-23 07:16:20 |
| 4968 | 2005-07-08 23:49:19.000 | 3204 3204 | 390 390 | 2005-07-14 02:46:19.000 | 1 1 | 2020-12-23 07:16:30 |
| 6215 | 2005-07-11 12:52:36.000 | 316 316 | 390 390 | 2005-07-12 08:33:36.000 | 1 1 | 2020-12-23 07:16:48 |
| 6430 | 2005-07-12 00:03:34.000 | 178 178 | 390 390 | 2005-07-15 03:11:34.000 | 1 1 | 2020-12-23 07:16:51 |
| 7515 | 2005-07-27 20:52:37.000 | 1211 1211 | 390 390 | 2005-08-02 20:17:37.000 | 2 2 | 2020-12-23 07:17:07 |
| 7595 | 2005-07-27 23:32:23.000 | 4313 4313 | 390 390 | 2005-08-03 05:28:23.000 | 1 1 | 2020-12-23 07:17:09 |
| 8493 | 2005-07-29 09:04:31.000 | 664 664 | 390 390 | 2005-08-04 05:17:31.000 | 2 2 | 2020-12-23 07:17:22 |
| 9251 | 2005-07-30 14:19:25.000 | 2948 2948 | 390 390 | 2005-08-08 11:22:25.000 | 2 2 | 2020-12-23 07:17:33 |
| 9314 | 2005-07-30 17:05:19.000 | 2358 2358 | 390 390 | 2005-07-31 12:19:19.000 | 1 1 | 2020-12-23 07:17:34 |
| 9825 | 2005-07-31 11:50:51.000 | 4322 4322 | 390 390 | 2005-08-02 07:18:51.000 | 1 1 | 2020-12-23 07:17:41 |
| 10061 | 2005-07-31 19:23:25.000 | 1401 1401 | 390 390 | 2005-08-04 19:38:25.000 | 1 1 | 2020-12-23 07:17:45 |
| 12105 | 2005-08-17 22:54:45.000 | 2848 2848 | 390 390 | 2005-08-21 00:33:45.000 | 2 2 | 2020-12-23 07:18:13 |
| 12803 | 2005-08-19 00:28:21.000 | 1058 1058 | 390 390 | 2005-08-23 02:02:21.000 | 1 1 | 2020-12-23 07:18:22 |
| 13413 | 2005-08-19 22:46:46.000 | 1501 1501 | 390 390 | 2005-08-24 22:52:46.000 | 1 1 | 2020-12-23 07:18:31 |
| 13473 | 2005-08-20 01:03:50.000 | 381 381 | 390 390 | 2005-08-22 02:33:50.000 | 2 2 | 2020-12-23 07:18:32 |
| 13501 | 2005-08-20 01:56:20.000 | 4369 4369 | 390 390 | 2005-08-22 23:07:20.000 | 2 2 | 2020-12-23 07:18:33 |
| 13546 | 2005-08-20 03:50:24.000 | 2492 2492 | 390 390 | 2005-08-28 03:04:24.000 | 2 2 | 2020-12-23 07:18:33 |
| 13591 | 2005-08-20 05:50:05.000 | 3089 3089 | 390 390 | 2005-08-27 08:43:05.000 | 2 2 | 2020-12-23 07:18:34 |
| 13618 | 2005-08-20 06:36:46.000 | 390 390 | 390 390 | 2005-08-29 05:17:46.000 | 2 2 | 2020-12-23 07:18:35 |
| 13893 | 2005-08-20 15:52:52.000 | 3503 3503 | 390 390 | 2005-08-27 16:21:52.000 | 2 2 | 2020-12-23 07:18:39 |
| 15222 | 2005-08-22 17:12:30.000 | 1360 1360 | 390 390 | 2005-08-27 15:10:30.000 | 2 2 | 2020-12-23 07:18:58 |
| 15303 | 2005-08-22 19:44:59.000 | 1672 1672 | 390 390 | 2005-08-30 21:59:59.000 | 1 1 | 2020-12-23 07:18:59 |
| 15376 | 2005-08-22 22:21:35.000 | 2963 2963 | 390 390 | 2005-08-28 20:56:35.000 | 1 1 | 2020-12-23 07:19:00 |
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) ;