rental
30 rows where customer_id = 108
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 |
|---|---|---|---|---|---|---|
| 105 | 2005-05-25 17:54:12.000 | 794 794 | 108 108 | 2005-05-30 12:03:12.000 | 2 2 | 2020-12-23 07:15:21 |
| 1055 | 2005-05-31 07:47:18.000 | 1639 1639 | 108 108 | 2005-06-03 01:57:18.000 | 1 1 | 2020-12-23 07:15:34 |
| 1372 | 2005-06-15 14:45:48.000 | 3740 3740 | 108 108 | 2005-06-17 18:02:48.000 | 2 2 | 2020-12-23 07:15:38 |
| 1425 | 2005-06-15 18:13:46.000 | 1308 1308 | 108 108 | 2005-06-18 22:50:46.000 | 2 2 | 2020-12-23 07:15:39 |
| 2061 | 2005-06-17 15:47:00.000 | 4575 4575 | 108 108 | 2005-06-24 16:36:00.000 | 2 2 | 2020-12-23 07:15:48 |
| 2210 | 2005-06-18 02:27:01.000 | 219 219 | 108 108 | 2005-06-21 00:45:01.000 | 1 1 | 2020-12-23 07:15:50 |
| 3116 | 2005-06-20 18:04:55.000 | 276 276 | 108 108 | 2005-06-21 12:12:55.000 | 2 2 | 2020-12-23 07:16:02 |
| 3875 | 2005-07-06 18:15:39.000 | 712 712 | 108 108 | 2005-07-11 17:34:39.000 | 1 1 | 2020-12-23 07:16:14 |
| 4082 | 2005-07-07 05:11:53.000 | 2904 2904 | 108 108 | 2005-07-12 00:55:53.000 | 1 1 | 2020-12-23 07:16:17 |
| 4303 | 2005-07-07 16:57:32.000 | 818 818 | 108 108 | 2005-07-14 17:42:32.000 | 2 2 | 2020-12-23 07:16:20 |
| 4650 | 2005-07-08 09:32:08.000 | 2850 2850 | 108 108 | 2005-07-15 15:20:08.000 | 1 1 | 2020-12-23 07:16:25 |
| 4754 | 2005-07-08 14:20:01.000 | 3177 3177 | 108 108 | 2005-07-11 11:50:01.000 | 1 1 | 2020-12-23 07:16:27 |
| 5274 | 2005-07-09 14:34:09.000 | 4579 4579 | 108 108 | 2005-07-14 13:02:09.000 | 1 1 | 2020-12-23 07:16:34 |
| 5661 | 2005-07-10 07:53:51.000 | 1878 1878 | 108 108 | 2005-07-14 12:57:51.000 | 2 2 | 2020-12-23 07:16:40 |
| 5806 | 2005-07-10 15:11:54.000 | 29 29 | 108 108 | 2005-07-15 11:51:54.000 | 2 2 | 2020-12-23 07:16:42 |
| 6841 | 2005-07-12 19:04:24.000 | 2265 2265 | 108 108 | 2005-07-14 23:58:24.000 | 1 1 | 2020-12-23 07:16:57 |
| 8329 | 2005-07-29 04:06:33.000 | 3468 3468 | 108 108 | 2005-08-06 01:46:33.000 | 1 1 | 2020-12-23 07:17:19 |
| 8587 | 2005-07-29 12:18:40.000 | 1941 1941 | 108 108 | 2005-08-03 14:01:40.000 | 1 1 | 2020-12-23 07:17:23 |
| 8846 | 2005-07-29 23:10:28.000 | 2912 2912 | 108 108 | 2005-08-03 22:07:28.000 | 2 2 | 2020-12-23 07:17:27 |
| 9755 | 2005-07-31 09:24:55.000 | 86 86 | 108 108 | 2005-08-07 06:00:55.000 | 2 2 | 2020-12-23 07:17:40 |
| 11316 | 2005-08-02 16:07:49.000 | 521 521 | 108 108 | 2005-08-10 13:22:49.000 | 1 1 | 2020-12-23 07:18:02 |
| 11445 | 2005-08-02 20:33:35.000 | 3340 3340 | 108 108 | 2005-08-08 16:02:35.000 | 2 2 | 2020-12-23 07:18:04 |
| 11759 | 2005-08-17 09:41:23.000 | 2655 2655 | 108 108 | 2005-08-19 11:58:23.000 | 2 2 | 2020-12-23 07:18:08 |
| 12583 | 2005-08-18 15:51:36.000 | 3090 3090 | 108 108 | 2005-08-20 18:47:36.000 | 2 2 | 2020-12-23 07:18:19 |
| 12625 | 2005-08-18 17:36:19.000 | 2645 2645 | 108 108 | 2005-08-23 11:42:19.000 | 1 1 | 2020-12-23 07:18:20 |
| 13754 | 2005-08-20 11:18:08.000 | 1740 1740 | 108 108 | 2005-08-22 11:55:08.000 | 1 1 | 2020-12-23 07:18:37 |
| 14635 | 2005-08-21 18:51:43.000 | 2171 2171 | 108 108 | 2005-08-27 16:30:43.000 | 2 2 | 2020-12-23 07:18:50 |
| 15294 | 2006-02-14 15:16:03.000 | 70 70 | 108 108 | 1 1 | 2020-12-23 07:18:59 | |
| 15556 | 2005-08-23 04:52:16.000 | 3683 3683 | 108 108 | 2005-09-01 02:05:16.000 | 2 2 | 2020-12-23 07:19:03 |
| 16001 | 2005-08-23 20:45:53.000 | 245 245 | 108 108 | 2005-08-27 15:52:53.000 | 1 1 | 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) ;