rental
35 rows where customer_id = 50
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 |
|---|---|---|---|---|---|---|
| 763 | 2005-05-29 11:32:15.000 | 2022 2022 | 50 50 | 2005-05-31 17:31:15.000 | 1 1 | 2020-12-23 07:15:30 |
| 794 | 2005-05-29 16:44:11.000 | 1995 1995 | 50 50 | 2005-06-05 16:11:11.000 | 1 1 | 2020-12-23 07:15:30 |
| 905 | 2005-05-30 10:25:00.000 | 4372 4372 | 50 50 | 2005-06-06 06:23:00.000 | 1 1 | 2020-12-23 07:15:32 |
| 1029 | 2005-05-31 03:52:02.000 | 2082 2082 | 50 50 | 2005-06-06 08:10:02.000 | 1 1 | 2020-12-23 07:15:33 |
| 1136 | 2005-05-31 19:19:36.000 | 3963 3963 | 50 50 | 2005-06-09 16:04:36.000 | 2 2 | 2020-12-23 07:15:35 |
| 1223 | 2005-06-15 03:38:53.000 | 1299 1299 | 50 50 | 2005-06-20 01:00:53.000 | 2 2 | 2020-12-23 07:15:36 |
| 1785 | 2005-06-16 19:27:12.000 | 3413 3413 | 50 50 | 2005-06-24 19:25:12.000 | 1 1 | 2020-12-23 07:15:44 |
| 3000 | 2005-06-20 09:32:33.000 | 549 549 | 50 50 | 2005-06-22 07:45:33.000 | 1 1 | 2020-12-23 07:16:01 |
| 3169 | 2005-06-20 21:55:54.000 | 2437 2437 | 50 50 | 2005-06-25 19:45:54.000 | 1 1 | 2020-12-23 07:16:03 |
| 4149 | 2005-07-07 08:40:17.000 | 3028 3028 | 50 50 | 2005-07-10 02:58:17.000 | 2 2 | 2020-12-23 07:16:18 |
| 5290 | 2005-07-09 15:14:47.000 | 277 277 | 50 50 | 2005-07-11 20:30:47.000 | 2 2 | 2020-12-23 07:16:35 |
| 5641 | 2005-07-10 06:43:43.000 | 3568 3568 | 50 50 | 2005-07-15 06:33:43.000 | 1 1 | 2020-12-23 07:16:40 |
| 5681 | 2005-07-10 08:48:39.000 | 4176 4176 | 50 50 | 2005-07-18 07:17:39.000 | 1 1 | 2020-12-23 07:16:41 |
| 5928 | 2005-07-10 21:58:30.000 | 4132 4132 | 50 50 | 2005-07-15 19:41:30.000 | 1 1 | 2020-12-23 07:16:44 |
| 6634 | 2005-07-12 09:37:18.000 | 2943 2943 | 50 50 | 2005-07-13 09:28:18.000 | 1 1 | 2020-12-23 07:16:54 |
| 6667 | 2005-07-12 11:36:22.000 | 215 215 | 50 50 | 2005-07-19 12:53:22.000 | 1 1 | 2020-12-23 07:16:55 |
| 7383 | 2005-07-27 15:46:53.000 | 3860 3860 | 50 50 | 2005-08-03 11:10:53.000 | 1 1 | 2020-12-23 07:17:05 |
| 8089 | 2005-07-28 18:26:47.000 | 1414 1414 | 50 50 | 2005-08-03 21:28:47.000 | 1 1 | 2020-12-23 07:17:16 |
| 8261 | 2005-07-29 01:11:05.000 | 1915 1915 | 50 50 | 2005-08-04 03:13:05.000 | 2 2 | 2020-12-23 07:17:18 |
| 8619 | 2005-07-29 13:50:08.000 | 2169 2169 | 50 50 | 2005-08-06 13:15:08.000 | 1 1 | 2020-12-23 07:17:24 |
| 9179 | 2005-07-30 12:02:41.000 | 62 62 | 50 50 | 2005-08-05 15:23:41.000 | 2 2 | 2020-12-23 07:17:32 |
| 9615 | 2005-07-31 03:59:56.000 | 3370 3370 | 50 50 | 2005-08-02 00:46:56.000 | 2 2 | 2020-12-23 07:17:38 |
| 9691 | 2005-07-31 07:09:55.000 | 2626 2626 | 50 50 | 2005-08-09 02:29:55.000 | 1 1 | 2020-12-23 07:17:39 |
| 10046 | 2005-07-31 19:07:11.000 | 4302 4302 | 50 50 | 2005-08-03 13:25:11.000 | 1 1 | 2020-12-23 07:17:44 |
| 10165 | 2005-07-31 23:21:23.000 | 3476 3476 | 50 50 | 2005-08-06 18:06:23.000 | 1 1 | 2020-12-23 07:17:46 |
| 10180 | 2005-07-31 23:57:43.000 | 757 757 | 50 50 | 2005-08-09 04:04:43.000 | 2 2 | 2020-12-23 07:17:46 |
| 10261 | 2005-08-01 02:58:27.000 | 2346 2346 | 50 50 | 2005-08-01 21:55:27.000 | 2 2 | 2020-12-23 07:17:47 |
| 10485 | 2005-08-01 10:20:34.000 | 29 29 | 50 50 | 2005-08-09 09:20:34.000 | 1 1 | 2020-12-23 07:17:50 |
| 11053 | 2005-08-02 06:27:13.000 | 2599 2599 | 50 50 | 2005-08-09 11:24:13.000 | 2 2 | 2020-12-23 07:17:58 |
| 12766 | 2005-08-18 23:25:20.000 | 3737 3737 | 50 50 | 2005-08-27 04:43:20.000 | 1 1 | 2020-12-23 07:18:22 |
| 13136 | 2005-08-19 12:24:23.000 | 2532 2532 | 50 50 | 2005-08-28 08:37:23.000 | 2 2 | 2020-12-23 07:18:27 |
| 14054 | 2005-08-20 22:17:01.000 | 338 338 | 50 50 | 2005-08-21 21:34:01.000 | 1 1 | 2020-12-23 07:18:41 |
| 15138 | 2005-08-22 13:36:30.000 | 2467 2467 | 50 50 | 2005-08-27 15:35:30.000 | 1 1 | 2020-12-23 07:18:57 |
| 15388 | 2005-08-22 22:49:23.000 | 3995 3995 | 50 50 | 2005-09-01 03:50:23.000 | 2 2 | 2020-12-23 07:19:01 |
| 16015 | 2005-08-23 21:25:03.000 | 3113 3113 | 50 50 | 2005-08-24 20:05:03.000 | 2 2 | 2020-12-23 07:19:09 |
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) ;