rental
33 rows where customer_id = 237
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, last_update, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 133 | 2005-05-25 21:48:30.000 | 399 399 | 237 237 | 2005-05-30 00:26:30.000 | 2 2 | 2020-12-23 07:15:21 |
| 182 | 2005-05-26 04:49:17.000 | 4396 4396 | 237 237 | 2005-06-01 05:43:17.000 | 2 2 | 2020-12-23 07:15:22 |
| 1500 | 2005-06-15 22:00:45.000 | 2652 2652 | 237 237 | 2005-06-18 16:19:45.000 | 2 2 | 2020-12-23 07:15:40 |
| 1518 | 2005-06-15 23:36:37.000 | 4537 4537 | 237 237 | 2005-06-16 18:24:37.000 | 2 2 | 2020-12-23 07:15:40 |
| 2156 | 2005-06-17 23:08:12.000 | 623 623 | 237 237 | 2005-06-22 19:44:12.000 | 2 2 | 2020-12-23 07:15:49 |
| 2492 | 2005-06-18 22:04:15.000 | 2858 2858 | 237 237 | 2005-06-23 21:58:15.000 | 1 1 | 2020-12-23 07:15:54 |
| 3069 | 2005-06-20 14:13:00.000 | 1952 1952 | 237 237 | 2005-06-28 10:57:00.000 | 1 1 | 2020-12-23 07:16:02 |
| 4844 | 2005-07-08 18:28:13.000 | 4057 4057 | 237 237 | 2005-07-09 21:17:13.000 | 2 2 | 2020-12-23 07:16:28 |
| 6053 | 2005-07-11 03:51:59.000 | 2836 2836 | 237 237 | 2005-07-19 09:13:59.000 | 2 2 | 2020-12-23 07:16:46 |
| 7193 | 2005-07-27 08:37:00.000 | 1801 1801 | 237 237 | 2005-07-30 12:51:00.000 | 2 2 | 2020-12-23 07:17:03 |
| 7330 | 2005-07-27 13:56:46.000 | 3705 3705 | 237 237 | 2005-08-04 07:56:46.000 | 1 1 | 2020-12-23 07:17:05 |
| 7812 | 2005-07-28 08:06:52.000 | 4556 4556 | 237 237 | 2005-07-31 09:57:52.000 | 2 2 | 2020-12-23 07:17:12 |
| 7951 | 2005-07-28 13:21:16.000 | 3979 3979 | 237 237 | 2005-08-06 08:21:16.000 | 1 1 | 2020-12-23 07:17:14 |
| 8102 | 2005-07-28 18:49:43.000 | 4505 4505 | 237 237 | 2005-08-03 23:04:43.000 | 2 2 | 2020-12-23 07:17:16 |
| 8748 | 2005-07-29 19:08:37.000 | 2184 2184 | 237 237 | 2005-08-01 16:24:37.000 | 1 1 | 2020-12-23 07:17:26 |
| 8799 | 2005-07-29 21:16:47.000 | 326 326 | 237 237 | 2005-08-07 22:09:47.000 | 2 2 | 2020-12-23 07:17:26 |
| 8835 | 2005-07-29 22:44:35.000 | 2653 2653 | 237 237 | 2005-08-05 23:28:35.000 | 1 1 | 2020-12-23 07:17:27 |
| 9276 | 2005-07-30 15:09:28.000 | 1528 1528 | 237 237 | 2005-08-06 19:39:28.000 | 1 1 | 2020-12-23 07:17:33 |
| 9661 | 2005-07-31 06:06:37.000 | 2693 2693 | 237 237 | 2005-08-04 07:37:37.000 | 1 1 | 2020-12-23 07:17:39 |
| 9715 | 2005-07-31 08:16:58.000 | 3319 3319 | 237 237 | 2005-08-04 11:13:58.000 | 1 1 | 2020-12-23 07:17:40 |
| 10056 | 2005-07-31 19:19:13.000 | 281 281 | 237 237 | 2005-08-01 16:09:13.000 | 2 2 | 2020-12-23 07:17:45 |
| 10058 | 2005-07-31 19:20:21.000 | 758 758 | 237 237 | 2005-08-04 00:41:21.000 | 2 2 | 2020-12-23 07:17:45 |
| 11125 | 2005-08-02 08:55:35.000 | 2081 2081 | 237 237 | 2005-08-03 09:12:35.000 | 1 1 | 2020-12-23 07:17:59 |
| 11479 | 2005-08-02 22:18:13.000 | 4077 4077 | 237 237 | 2005-08-12 00:43:13.000 | 1 1 | 2020-12-23 07:18:04 |
| 11772 | 2005-08-17 10:18:57.000 | 1021 1021 | 237 237 | 2005-08-26 12:48:57.000 | 2 2 | 2020-12-23 07:18:08 |
| 12469 | 2005-08-18 11:53:07.000 | 2395 2395 | 237 237 | 2005-08-24 16:00:07.000 | 1 1 | 2020-12-23 07:18:18 |
| 13914 | 2005-08-20 16:38:57.000 | 3037 3037 | 237 237 | 2005-08-26 14:53:57.000 | 2 2 | 2020-12-23 07:18:39 |
| 13922 | 2005-08-20 17:02:37.000 | 1398 1398 | 237 237 | 2005-08-29 19:28:37.000 | 1 1 | 2020-12-23 07:18:39 |
| 13969 | 2005-08-20 18:42:40.000 | 1836 1836 | 237 237 | 2005-08-27 17:33:40.000 | 2 2 | 2020-12-23 07:18:40 |
| 14453 | 2005-08-21 12:33:34.000 | 3312 3312 | 237 237 | 2005-08-27 11:10:34.000 | 1 1 | 2020-12-23 07:18:47 |
| 15139 | 2005-08-22 13:38:11.000 | 2018 2018 | 237 237 | 2005-08-30 09:00:11.000 | 1 1 | 2020-12-23 07:18:57 |
| 15337 | 2005-08-22 20:49:51.000 | 280 280 | 237 237 | 2005-08-26 23:27:51.000 | 1 1 | 2020-12-23 07:19:00 |
| 15931 | 2005-08-23 18:28:09.000 | 1128 1128 | 237 237 | 2005-08-28 23:08:09.000 | 1 1 | 2020-12-23 07:19:08 |
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) ;