rental
32 rows where customer_id = 209
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 |
|---|---|---|---|---|---|---|
| 340 | 2005-05-27 03:55:25.000 | 946 946 | 209 209 | 2005-06-04 07:57:25.000 | 2 2 | 2020-12-23 07:15:24 |
| 471 | 2005-05-27 21:32:42.000 | 2872 2872 | 209 209 | 2005-05-31 00:39:42.000 | 2 2 | 2020-12-23 07:15:26 |
| 1143 | 2005-05-31 19:53:03.000 | 2632 2632 | 209 209 | 2005-06-06 20:56:03.000 | 2 2 | 2020-12-23 07:15:35 |
| 1201 | 2005-06-15 02:06:28.000 | 2679 2679 | 209 209 | 2005-06-16 21:38:28.000 | 2 2 | 2020-12-23 07:15:36 |
| 1657 | 2005-06-16 10:06:49.000 | 953 953 | 209 209 | 2005-06-22 10:34:49.000 | 2 2 | 2020-12-23 07:15:42 |
| 2650 | 2005-06-19 10:21:45.000 | 4211 4211 | 209 209 | 2005-06-21 08:01:45.000 | 1 1 | 2020-12-23 07:15:56 |
| 2796 | 2005-06-19 19:00:37.000 | 2337 2337 | 209 209 | 2005-06-25 17:18:37.000 | 2 2 | 2020-12-23 07:15:58 |
| 3504 | 2005-07-06 00:18:29.000 | 268 268 | 209 209 | 2005-07-10 00:24:29.000 | 2 2 | 2020-12-23 07:16:08 |
| 4071 | 2005-07-07 04:37:26.000 | 2883 2883 | 209 209 | 2005-07-13 06:45:26.000 | 2 2 | 2020-12-23 07:16:17 |
| 4309 | 2005-07-07 17:29:41.000 | 3549 3549 | 209 209 | 2005-07-14 22:22:41.000 | 2 2 | 2020-12-23 07:16:20 |
| 4810 | 2005-07-08 17:04:06.000 | 4056 4056 | 209 209 | 2005-07-09 13:41:06.000 | 1 1 | 2020-12-23 07:16:28 |
| 4907 | 2005-07-08 21:01:41.000 | 1206 1206 | 209 209 | 2005-07-13 02:23:41.000 | 2 2 | 2020-12-23 07:16:29 |
| 5170 | 2005-07-09 09:24:19.000 | 66 66 | 209 209 | 2005-07-18 04:02:19.000 | 1 1 | 2020-12-23 07:16:33 |
| 5219 | 2005-07-09 11:57:55.000 | 3933 3933 | 209 209 | 2005-07-15 09:43:55.000 | 2 2 | 2020-12-23 07:16:34 |
| 6210 | 2005-07-11 12:36:43.000 | 931 931 | 209 209 | 2005-07-17 17:45:43.000 | 2 2 | 2020-12-23 07:16:48 |
| 7116 | 2005-07-27 05:46:43.000 | 1755 1755 | 209 209 | 2005-08-05 05:54:43.000 | 1 1 | 2020-12-23 07:17:01 |
| 7269 | 2005-07-27 11:23:47.000 | 2089 2089 | 209 209 | 2005-07-31 13:10:47.000 | 1 1 | 2020-12-23 07:17:04 |
| 7505 | 2005-07-27 20:28:03.000 | 1342 1342 | 209 209 | 2005-08-03 17:04:03.000 | 1 1 | 2020-12-23 07:17:07 |
| 7752 | 2005-07-28 06:01:00.000 | 2218 2218 | 209 209 | 2005-08-03 06:09:00.000 | 1 1 | 2020-12-23 07:17:11 |
| 8067 | 2005-07-28 17:20:17.000 | 3923 3923 | 209 209 | 2005-07-29 21:55:17.000 | 1 1 | 2020-12-23 07:17:15 |
| 8759 | 2005-07-29 19:22:37.000 | 844 844 | 209 209 | 2005-08-07 15:36:37.000 | 2 2 | 2020-12-23 07:17:26 |
| 8816 | 2005-07-29 21:53:00.000 | 3984 3984 | 209 209 | 2005-08-01 21:20:00.000 | 1 1 | 2020-12-23 07:17:27 |
| 9054 | 2005-07-30 07:11:44.000 | 2860 2860 | 209 209 | 2005-08-08 01:55:44.000 | 2 2 | 2020-12-23 07:17:30 |
| 9923 | 2005-07-31 15:00:15.000 | 1635 1635 | 209 209 | 2005-08-05 11:09:15.000 | 2 2 | 2020-12-23 07:17:43 |
| 10554 | 2005-08-01 12:56:19.000 | 3220 3220 | 209 209 | 2005-08-03 09:44:19.000 | 2 2 | 2020-12-23 07:17:52 |
| 10646 | 2005-08-01 15:57:55.000 | 1752 1752 | 209 209 | 2005-08-02 19:08:55.000 | 1 1 | 2020-12-23 07:17:53 |
| 10811 | 2005-08-01 22:41:15.000 | 4012 4012 | 209 209 | 2005-08-10 00:10:15.000 | 1 1 | 2020-12-23 07:17:55 |
| 12025 | 2005-08-17 19:59:06.000 | 4019 4019 | 209 209 | 2005-08-23 14:39:06.000 | 2 2 | 2020-12-23 07:18:12 |
| 13796 | 2005-08-20 12:32:32.000 | 28 28 | 209 209 | 2005-08-29 10:48:32.000 | 2 2 | 2020-12-23 07:18:37 |
| 14631 | 2005-08-21 18:47:49.000 | 782 782 | 209 209 | 2005-08-28 16:54:49.000 | 1 1 | 2020-12-23 07:18:49 |
| 15254 | 2005-08-22 18:13:07.000 | 3762 3762 | 209 209 | 2005-08-24 21:55:07.000 | 1 1 | 2020-12-23 07:18:59 |
| 15510 | 2005-08-23 02:51:27.000 | 3239 3239 | 209 209 | 2005-09-01 02:44:27.000 | 2 2 | 2020-12-23 07:19:02 |
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) ;