rental
33 rows where customer_id = 114
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 |
|---|---|---|---|---|---|---|
| 205 | 2005-05-26 07:59:37.000 | 303 303 | 114 114 | 2005-05-29 09:43:37.000 | 2 2 | 2020-12-23 07:15:22 |
| 255 | 2005-05-26 14:52:15.000 | 3264 3264 | 114 114 | 2005-05-27 12:45:15.000 | 1 1 | 2020-12-23 07:15:23 |
| 889 | 2005-05-30 07:14:53.000 | 1299 1299 | 114 114 | 2005-05-31 07:56:53.000 | 2 2 | 2020-12-23 07:15:32 |
| 2059 | 2005-06-17 15:36:12.000 | 739 739 | 114 114 | 2005-06-18 19:01:12.000 | 2 2 | 2020-12-23 07:15:48 |
| 2680 | 2005-06-19 12:13:37.000 | 865 865 | 114 114 | 2005-06-27 15:15:37.000 | 1 1 | 2020-12-23 07:15:56 |
| 3094 | 2005-06-20 16:06:51.000 | 2048 2048 | 114 114 | 2005-06-24 13:23:51.000 | 1 1 | 2020-12-23 07:16:02 |
| 3144 | 2005-06-20 20:14:20.000 | 1300 1300 | 114 114 | 2005-06-30 01:46:20.000 | 1 1 | 2020-12-23 07:16:03 |
| 3484 | 2005-07-05 23:23:11.000 | 1934 1934 | 114 114 | 2005-07-11 00:27:11.000 | 2 2 | 2020-12-23 07:16:08 |
| 3924 | 2005-07-06 20:38:02.000 | 187 187 | 114 114 | 2005-07-11 23:35:02.000 | 2 2 | 2020-12-23 07:16:14 |
| 4025 | 2005-07-07 02:13:24.000 | 3908 3908 | 114 114 | 2005-07-08 00:47:24.000 | 1 1 | 2020-12-23 07:16:16 |
| 5418 | 2005-07-09 20:41:35.000 | 55 55 | 114 114 | 2005-07-14 00:15:35.000 | 1 1 | 2020-12-23 07:16:37 |
| 5624 | 2005-07-10 05:43:16.000 | 1015 1015 | 114 114 | 2005-07-12 05:33:16.000 | 1 1 | 2020-12-23 07:16:40 |
| 5625 | 2005-07-10 05:44:02.000 | 1751 1751 | 114 114 | 2005-07-12 00:03:02.000 | 2 2 | 2020-12-23 07:16:40 |
| 6188 | 2005-07-11 11:31:47.000 | 189 189 | 114 114 | 2005-07-15 09:28:47.000 | 1 1 | 2020-12-23 07:16:47 |
| 6754 | 2005-07-12 14:59:24.000 | 1460 1460 | 114 114 | 2005-07-14 11:04:24.000 | 2 2 | 2020-12-23 07:16:56 |
| 7316 | 2005-07-27 13:19:03.000 | 3344 3344 | 114 114 | 2005-07-28 07:43:03.000 | 2 2 | 2020-12-23 07:17:04 |
| 7462 | 2005-07-27 18:47:47.000 | 878 878 | 114 114 | 2005-07-29 20:46:47.000 | 2 2 | 2020-12-23 07:17:07 |
| 7565 | 2005-07-27 22:33:59.000 | 1028 1028 | 114 114 | 2005-07-30 03:03:59.000 | 2 2 | 2020-12-23 07:17:08 |
| 7938 | 2005-07-28 12:39:11.000 | 2579 2579 | 114 114 | 2005-08-04 16:56:11.000 | 1 1 | 2020-12-23 07:17:13 |
| 8496 | 2005-07-29 09:05:33.000 | 765 765 | 114 114 | 2005-08-02 06:32:33.000 | 1 1 | 2020-12-23 07:17:22 |
| 8590 | 2005-07-29 12:32:20.000 | 2505 2505 | 114 114 | 2005-08-07 08:00:20.000 | 1 1 | 2020-12-23 07:17:23 |
| 9717 | 2005-07-31 08:24:41.000 | 4207 4207 | 114 114 | 2005-08-04 02:51:41.000 | 1 1 | 2020-12-23 07:17:40 |
| 11547 | 2005-08-17 00:59:24.000 | 737 737 | 114 114 | 2005-08-20 04:03:24.000 | 2 2 | 2020-12-23 07:18:05 |
| 12326 | 2005-08-18 06:41:59.000 | 1865 1865 | 114 114 | 2005-08-19 10:16:59.000 | 2 2 | 2020-12-23 07:18:16 |
| 12506 | 2006-02-14 15:16:03.000 | 1132 1132 | 114 114 | 2 2 | 2020-12-23 07:18:18 | |
| 12685 | 2005-08-18 19:51:29.000 | 4283 4283 | 114 114 | 2005-08-27 14:58:29.000 | 2 2 | 2020-12-23 07:18:20 |
| 13459 | 2005-08-20 00:45:40.000 | 3666 3666 | 114 114 | 2005-08-29 02:53:40.000 | 2 2 | 2020-12-23 07:18:32 |
| 14158 | 2005-08-21 02:43:20.000 | 474 474 | 114 114 | 2005-08-28 02:19:20.000 | 1 1 | 2020-12-23 07:18:43 |
| 14867 | 2005-08-22 03:14:46.000 | 271 271 | 114 114 | 2005-08-25 03:53:46.000 | 2 2 | 2020-12-23 07:18:53 |
| 15485 | 2005-08-23 02:04:57.000 | 281 281 | 114 114 | 2005-08-28 07:05:57.000 | 2 2 | 2020-12-23 07:19:02 |
| 15528 | 2005-08-23 03:45:40.000 | 3033 3033 | 114 114 | 2005-08-25 01:16:40.000 | 1 1 | 2020-12-23 07:19:02 |
| 15646 | 2005-08-23 08:19:55.000 | 3217 3217 | 114 114 | 2005-08-29 02:32:55.000 | 1 1 | 2020-12-23 07:19:04 |
| 16047 | 2005-08-23 22:42:48.000 | 2088 2088 | 114 114 | 2005-08-25 02:48:48.000 | 2 2 | 2020-12-23 07:19:10 |
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) ;