rental
32 rows where customer_id = 532
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 |
|---|---|---|---|---|---|---|
| 43 | 2005-05-25 05:39:25.000 | 2578 2578 | 532 532 | 2005-05-26 06:54:25.000 | 2 2 | 2020-12-23 07:15:20 |
| 1694 | 2005-06-16 12:40:23.000 | 147 147 | 532 532 | 2005-06-20 09:18:23.000 | 2 2 | 2020-12-23 07:15:42 |
| 2821 | 2005-06-19 20:26:52.000 | 2551 2551 | 532 532 | 2005-06-27 23:48:52.000 | 1 1 | 2020-12-23 07:15:58 |
| 4336 | 2005-07-07 18:34:36.000 | 482 482 | 532 532 | 2005-07-10 17:58:36.000 | 2 2 | 2020-12-23 07:16:21 |
| 4962 | 2005-07-08 23:36:13.000 | 4399 4399 | 532 532 | 2005-07-15 03:39:13.000 | 1 1 | 2020-12-23 07:16:30 |
| 5190 | 2005-07-09 10:25:24.000 | 2213 2213 | 532 532 | 2005-07-18 04:33:24.000 | 1 1 | 2020-12-23 07:16:33 |
| 5253 | 2005-07-09 13:41:17.000 | 2241 2241 | 532 532 | 2005-07-17 17:09:17.000 | 1 1 | 2020-12-23 07:16:34 |
| 5278 | 2005-07-09 14:44:23.000 | 2573 2573 | 532 532 | 2005-07-15 10:48:23.000 | 1 1 | 2020-12-23 07:16:34 |
| 5805 | 2005-07-10 15:08:41.000 | 3553 3553 | 532 532 | 2005-07-19 16:35:41.000 | 2 2 | 2020-12-23 07:16:42 |
| 5887 | 2005-07-10 19:45:47.000 | 2602 2602 | 532 532 | 2005-07-15 22:15:47.000 | 1 1 | 2020-12-23 07:16:44 |
| 6345 | 2005-07-11 20:05:18.000 | 4332 4332 | 532 532 | 2005-07-20 17:28:18.000 | 1 1 | 2020-12-23 07:16:50 |
| 6598 | 2005-07-12 07:38:25.000 | 2049 2049 | 532 532 | 2005-07-19 07:58:25.000 | 1 1 | 2020-12-23 07:16:54 |
| 6730 | 2005-07-12 13:58:25.000 | 1552 1552 | 532 532 | 2005-07-20 13:01:25.000 | 1 1 | 2020-12-23 07:16:56 |
| 7192 | 2005-07-27 08:36:55.000 | 4329 4329 | 532 532 | 2005-07-30 11:58:55.000 | 2 2 | 2020-12-23 07:17:03 |
| 7572 | 2005-07-27 22:44:29.000 | 3068 3068 | 532 532 | 2005-08-01 03:04:29.000 | 1 1 | 2020-12-23 07:17:08 |
| 8273 | 2005-07-29 01:33:16.000 | 4244 4244 | 532 532 | 2005-08-06 04:26:16.000 | 2 2 | 2020-12-23 07:17:18 |
| 9843 | 2005-07-31 12:25:28.000 | 2923 2923 | 532 532 | 2005-08-01 09:51:28.000 | 2 2 | 2020-12-23 07:17:42 |
| 10286 | 2005-08-01 03:35:58.000 | 498 498 | 532 532 | 2005-08-10 05:17:58.000 | 2 2 | 2020-12-23 07:17:48 |
| 10712 | 2005-08-01 18:47:56.000 | 1188 1188 | 532 532 | 2005-08-07 19:26:56.000 | 2 2 | 2020-12-23 07:17:54 |
| 10945 | 2005-08-02 03:20:23.000 | 3684 3684 | 532 532 | 2005-08-09 03:23:23.000 | 1 1 | 2020-12-23 07:17:57 |
| 11251 | 2005-08-02 13:40:49.000 | 2181 2181 | 532 532 | 2005-08-09 14:16:49.000 | 2 2 | 2020-12-23 07:18:01 |
| 11318 | 2005-08-02 16:09:11.000 | 2386 2386 | 532 532 | 2005-08-07 11:28:11.000 | 2 2 | 2020-12-23 07:18:02 |
| 12061 | 2005-08-17 21:13:35.000 | 144 144 | 532 532 | 2005-08-22 19:18:35.000 | 1 1 | 2020-12-23 07:18:12 |
| 12295 | 2005-08-18 05:15:46.000 | 1651 1651 | 532 532 | 2005-08-26 02:23:46.000 | 2 2 | 2020-12-23 07:18:15 |
| 13038 | 2005-08-19 08:55:16.000 | 2226 2226 | 532 532 | 2005-08-25 12:23:16.000 | 2 2 | 2020-12-23 07:18:26 |
| 13192 | 2005-08-19 14:30:06.000 | 966 966 | 532 532 | 2005-08-27 15:20:06.000 | 1 1 | 2020-12-23 07:18:28 |
| 13254 | 2005-08-19 16:54:01.000 | 3412 3412 | 532 532 | 2005-08-27 19:50:01.000 | 2 2 | 2020-12-23 07:18:29 |
| 13908 | 2005-08-20 16:21:40.000 | 3661 3661 | 532 532 | 2005-08-29 21:16:40.000 | 1 1 | 2020-12-23 07:18:39 |
| 14616 | 2006-02-14 15:16:03.000 | 4537 4537 | 532 532 | 1 1 | 2020-12-23 07:18:49 | |
| 15180 | 2005-08-22 15:42:57.000 | 234 234 | 532 532 | 2005-08-24 12:49:57.000 | 2 2 | 2020-12-23 07:18:57 |
| 15414 | 2005-08-22 23:43:54.000 | 718 718 | 532 532 | 2005-08-30 18:26:54.000 | 1 1 | 2020-12-23 07:19:01 |
| 16014 | 2005-08-23 21:18:31.000 | 3322 3322 | 532 532 | 2005-08-31 17:28:31.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) ;