rental
34 rows where customer_id = 207
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 |
|---|---|---|---|---|---|---|
| 39 | 2005-05-25 04:51:46.000 | 4466 4466 | 207 207 | 2005-05-31 03:14:46.000 | 2 2 | 2020-12-23 07:15:20 |
| 44 | 2005-05-25 05:53:23.000 | 3098 3098 | 207 207 | 2005-05-29 10:56:23.000 | 2 2 | 2020-12-23 07:15:20 |
| 659 | 2005-05-28 20:27:53.000 | 1382 1382 | 207 207 | 2005-05-31 01:36:53.000 | 2 2 | 2020-12-23 07:15:28 |
| 826 | 2005-05-29 21:56:15.000 | 2263 2263 | 207 207 | 2005-06-08 03:18:15.000 | 1 1 | 2020-12-23 07:15:31 |
| 896 | 2005-05-30 09:03:52.000 | 2817 2817 | 207 207 | 2005-06-05 07:37:52.000 | 2 2 | 2020-12-23 07:15:32 |
| 1144 | 2005-05-31 20:04:10.000 | 2450 2450 | 207 207 | 2005-06-09 16:34:10.000 | 1 1 | 2020-12-23 07:15:35 |
| 1945 | 2005-06-17 07:51:26.000 | 3366 3366 | 207 207 | 2005-06-23 13:22:26.000 | 2 2 | 2020-12-23 07:15:46 |
| 3584 | 2005-07-06 04:16:43.000 | 367 367 | 207 207 | 2005-07-13 07:08:43.000 | 1 1 | 2020-12-23 07:16:09 |
| 3687 | 2005-07-06 09:38:33.000 | 2040 2040 | 207 207 | 2005-07-14 07:50:33.000 | 1 1 | 2020-12-23 07:16:11 |
| 4018 | 2005-07-07 01:10:33.000 | 906 906 | 207 207 | 2005-07-12 20:54:33.000 | 2 2 | 2020-12-23 07:16:16 |
| 4713 | 2005-07-08 12:12:33.000 | 1399 1399 | 207 207 | 2005-07-16 17:13:33.000 | 1 1 | 2020-12-23 07:16:26 |
| 4816 | 2005-07-08 17:14:14.000 | 2700 2700 | 207 207 | 2005-07-11 15:03:14.000 | 1 1 | 2020-12-23 07:16:28 |
| 5007 | 2005-07-09 01:26:22.000 | 3079 3079 | 207 207 | 2005-07-12 20:48:22.000 | 1 1 | 2020-12-23 07:16:31 |
| 5258 | 2005-07-09 13:56:56.000 | 3125 3125 | 207 207 | 2005-07-11 16:01:56.000 | 2 2 | 2020-12-23 07:16:34 |
| 5259 | 2005-07-09 14:02:50.000 | 1310 1310 | 207 207 | 2005-07-11 19:13:50.000 | 2 2 | 2020-12-23 07:16:34 |
| 5939 | 2005-07-10 22:30:05.000 | 4491 4491 | 207 207 | 2005-07-14 00:02:05.000 | 2 2 | 2020-12-23 07:16:44 |
| 6465 | 2005-07-12 01:17:11.000 | 2047 2047 | 207 207 | 2005-07-20 00:29:11.000 | 2 2 | 2020-12-23 07:16:52 |
| 6537 | 2005-07-12 04:46:30.000 | 3381 3381 | 207 207 | 2005-07-19 03:04:30.000 | 2 2 | 2020-12-23 07:16:53 |
| 7306 | 2005-07-27 12:57:26.000 | 2269 2269 | 207 207 | 2005-08-03 09:35:26.000 | 2 2 | 2020-12-23 07:17:04 |
| 7540 | 2005-07-27 21:39:55.000 | 2198 2198 | 207 207 | 2005-08-04 18:10:55.000 | 2 2 | 2020-12-23 07:17:08 |
| 8800 | 2005-07-29 21:18:59.000 | 2082 2082 | 207 207 | 2005-08-06 19:59:59.000 | 2 2 | 2020-12-23 07:17:26 |
| 9652 | 2005-07-31 05:49:53.000 | 448 448 | 207 207 | 2005-08-06 07:38:53.000 | 2 2 | 2020-12-23 07:17:39 |
| 10234 | 2005-08-01 01:56:20.000 | 1641 1641 | 207 207 | 2005-08-09 01:51:20.000 | 2 2 | 2020-12-23 07:17:47 |
| 10300 | 2005-08-01 04:08:11.000 | 4334 4334 | 207 207 | 2005-08-04 00:24:11.000 | 1 1 | 2020-12-23 07:17:48 |
| 11112 | 2005-08-02 08:25:14.000 | 526 526 | 207 207 | 2005-08-03 08:41:14.000 | 1 1 | 2020-12-23 07:17:59 |
| 11260 | 2005-08-02 13:52:19.000 | 4015 4015 | 207 207 | 2005-08-06 08:13:19.000 | 2 2 | 2020-12-23 07:18:01 |
| 11286 | 2005-08-02 14:44:22.000 | 1319 1319 | 207 207 | 2005-08-10 09:01:22.000 | 2 2 | 2020-12-23 07:18:01 |
| 11724 | 2005-08-17 08:04:44.000 | 4484 4484 | 207 207 | 2005-08-25 03:25:44.000 | 2 2 | 2020-12-23 07:18:08 |
| 12108 | 2005-08-17 22:56:39.000 | 1675 1675 | 207 207 | 2005-08-26 19:37:39.000 | 1 1 | 2020-12-23 07:18:13 |
| 13655 | 2005-08-20 07:59:13.000 | 4294 4294 | 207 207 | 2005-08-22 12:04:13.000 | 1 1 | 2020-12-23 07:18:35 |
| 13809 | 2005-08-20 12:56:03.000 | 1597 1597 | 207 207 | 2005-08-27 11:58:03.000 | 1 1 | 2020-12-23 07:18:38 |
| 13912 | 2005-08-20 16:32:10.000 | 968 968 | 207 207 | 2005-08-29 17:37:10.000 | 2 2 | 2020-12-23 07:18:39 |
| 13954 | 2005-08-20 18:02:41.000 | 3812 3812 | 207 207 | 2005-08-27 21:52:41.000 | 2 2 | 2020-12-23 07:18:40 |
| 15625 | 2005-08-23 07:25:29.000 | 4200 4200 | 207 207 | 2005-08-27 13:17:29.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;