rental
30 rows where customer_id = 408
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 |
|---|---|---|---|---|---|---|
| 3 | 2005-05-24 23:03:39.000 | 1711 1711 | 408 408 | 2005-06-01 22:12:39.000 | 1 1 | 2020-12-23 07:15:20 |
| 59 | 2005-05-25 08:56:42.000 | 2884 2884 | 408 408 | 2005-06-01 09:52:42.000 | 1 1 | 2020-12-23 07:15:20 |
| 526 | 2005-05-28 04:27:37.000 | 1387 1387 | 408 408 | 2005-05-30 07:52:37.000 | 1 1 | 2020-12-23 07:15:26 |
| 2479 | 2005-06-18 21:03:08.000 | 1624 1624 | 408 408 | 2005-06-22 16:49:08.000 | 1 1 | 2020-12-23 07:15:54 |
| 2564 | 2005-06-19 03:41:10.000 | 4008 4008 | 408 408 | 2005-06-24 03:10:10.000 | 1 1 | 2020-12-23 07:15:55 |
| 2728 | 2005-06-19 15:04:04.000 | 775 775 | 408 408 | 2005-06-22 12:22:04.000 | 2 2 | 2020-12-23 07:15:57 |
| 4330 | 2005-07-07 18:09:41.000 | 2408 2408 | 408 408 | 2005-07-14 22:05:41.000 | 1 1 | 2020-12-23 07:16:21 |
| 5073 | 2005-07-09 05:02:35.000 | 546 546 | 408 408 | 2005-07-15 01:22:35.000 | 2 2 | 2020-12-23 07:16:32 |
| 6062 | 2005-07-11 04:11:58.000 | 3301 3301 | 408 408 | 2005-07-15 05:00:58.000 | 1 1 | 2020-12-23 07:16:46 |
| 6203 | 2005-07-11 12:28:57.000 | 1001 1001 | 408 408 | 2005-07-15 14:10:57.000 | 1 1 | 2020-12-23 07:16:48 |
| 6826 | 2005-07-12 18:32:02.000 | 1708 1708 | 408 408 | 2005-07-16 23:21:02.000 | 1 1 | 2020-12-23 07:16:57 |
| 7053 | 2005-07-27 03:38:54.000 | 149 149 | 408 408 | 2005-07-31 01:13:54.000 | 1 1 | 2020-12-23 07:17:00 |
| 7996 | 2005-07-28 15:00:49.000 | 2171 2171 | 408 408 | 2005-08-04 20:58:49.000 | 2 2 | 2020-12-23 07:17:14 |
| 8251 | 2005-07-29 00:50:14.000 | 2317 2317 | 408 408 | 2005-08-03 23:52:14.000 | 2 2 | 2020-12-23 07:17:18 |
| 8469 | 2005-07-29 08:26:27.000 | 2754 2754 | 408 408 | 2005-08-05 04:26:27.000 | 2 2 | 2020-12-23 07:17:21 |
| 8902 | 2005-07-30 01:08:06.000 | 2983 2983 | 408 408 | 2005-08-05 00:00:06.000 | 2 2 | 2020-12-23 07:17:28 |
| 9052 | 2005-07-30 07:06:08.000 | 3351 3351 | 408 408 | 2005-08-03 10:30:08.000 | 1 1 | 2020-12-23 07:17:30 |
| 9757 | 2005-07-31 09:25:14.000 | 2596 2596 | 408 408 | 2005-08-01 14:43:14.000 | 2 2 | 2020-12-23 07:17:40 |
| 11115 | 2005-08-02 08:31:06.000 | 3812 3812 | 408 408 | 2005-08-04 02:36:06.000 | 2 2 | 2020-12-23 07:17:59 |
| 12140 | 2005-08-17 23:57:55.000 | 322 322 | 408 408 | 2005-08-21 20:09:55.000 | 2 2 | 2020-12-23 07:18:13 |
| 12338 | 2005-08-18 07:04:24.000 | 274 274 | 408 408 | 2005-08-19 08:36:24.000 | 2 2 | 2020-12-23 07:18:16 |
| 12498 | 2005-08-18 13:01:08.000 | 1063 1063 | 408 408 | 2005-08-21 13:12:08.000 | 1 1 | 2020-12-23 07:18:18 |
| 12900 | 2005-08-19 04:03:49.000 | 849 849 | 408 408 | 2005-08-24 22:11:49.000 | 2 2 | 2020-12-23 07:18:24 |
| 13508 | 2005-08-20 02:12:54.000 | 4120 4120 | 408 408 | 2005-08-28 21:47:54.000 | 2 2 | 2020-12-23 07:18:33 |
| 13744 | 2005-08-20 10:51:45.000 | 2962 2962 | 408 408 | 2005-08-25 06:42:45.000 | 2 2 | 2020-12-23 07:18:37 |
| 13944 | 2005-08-20 17:41:16.000 | 3685 3685 | 408 408 | 2005-08-23 12:02:16.000 | 1 1 | 2020-12-23 07:18:40 |
| 14733 | 2005-08-21 22:22:33.000 | 398 398 | 408 408 | 2005-08-26 21:01:33.000 | 1 1 | 2020-12-23 07:18:51 |
| 15628 | 2005-08-23 07:28:04.000 | 1348 1348 | 408 408 | 2005-08-26 04:23:04.000 | 1 1 | 2020-12-23 07:19:04 |
| 15716 | 2005-08-23 11:02:00.000 | 2812 2812 | 408 408 | 2005-08-28 14:46:00.000 | 1 1 | 2020-12-23 07:19:05 |
| 15765 | 2005-08-23 13:06:19.000 | 1250 1250 | 408 408 | 2005-08-31 12:18:19.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;