rental
28 rows where customer_id = 213
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 |
|---|---|---|---|---|---|---|
| 385 | 2005-05-27 10:23:25.000 | 1565 1565 | 213 213 | 2005-05-30 15:27:25.000 | 2 2 | 2020-12-23 07:15:25 |
| 1489 | 2005-06-15 21:41:38.000 | 699 699 | 213 213 | 2005-06-22 17:00:38.000 | 1 1 | 2020-12-23 07:15:39 |
| 1936 | 2005-06-17 07:15:41.000 | 3037 3037 | 213 213 | 2005-06-18 11:37:41.000 | 2 2 | 2020-12-23 07:15:46 |
| 2322 | 2005-06-18 09:44:21.000 | 1893 1893 | 213 213 | 2005-06-25 09:29:21.000 | 1 1 | 2020-12-23 07:15:52 |
| 2509 | 2005-06-18 23:44:08.000 | 4469 4469 | 213 213 | 2005-06-20 01:36:08.000 | 2 2 | 2020-12-23 07:15:54 |
| 2569 | 2005-06-19 04:19:04.000 | 30 30 | 213 213 | 2005-06-26 04:31:04.000 | 1 1 | 2020-12-23 07:15:55 |
| 2889 | 2005-06-20 01:54:08.000 | 151 151 | 213 213 | 2005-06-23 06:33:08.000 | 1 1 | 2020-12-23 07:15:59 |
| 2946 | 2005-06-20 05:50:40.000 | 3737 3737 | 213 213 | 2005-06-21 00:42:40.000 | 2 2 | 2020-12-23 07:16:00 |
| 3252 | 2005-06-21 03:25:26.000 | 2009 2009 | 213 213 | 2005-06-24 00:38:26.000 | 2 2 | 2020-12-23 07:16:04 |
| 3313 | 2005-06-21 08:11:18.000 | 4267 4267 | 213 213 | 2005-06-23 04:28:18.000 | 2 2 | 2020-12-23 07:16:05 |
| 3989 | 2005-07-06 23:30:54.000 | 2366 2366 | 213 213 | 2005-07-12 01:28:54.000 | 1 1 | 2020-12-23 07:16:15 |
| 4236 | 2005-07-07 13:12:07.000 | 642 642 | 213 213 | 2005-07-08 15:00:07.000 | 2 2 | 2020-12-23 07:16:19 |
| 4655 | 2005-07-08 09:49:22.000 | 4078 4078 | 213 213 | 2005-07-15 13:08:22.000 | 1 1 | 2020-12-23 07:16:25 |
| 5159 | 2005-07-09 08:55:52.000 | 3479 3479 | 213 213 | 2005-07-10 04:32:52.000 | 1 1 | 2020-12-23 07:16:33 |
| 5431 | 2005-07-09 21:21:11.000 | 2780 2780 | 213 213 | 2005-07-10 21:16:11.000 | 1 1 | 2020-12-23 07:16:37 |
| 6725 | 2005-07-12 13:47:17.000 | 831 831 | 213 213 | 2005-07-17 13:31:17.000 | 1 1 | 2020-12-23 07:16:55 |
| 7528 | 2005-07-27 21:15:25.000 | 1218 1218 | 213 213 | 2005-08-03 19:12:25.000 | 1 1 | 2020-12-23 07:17:08 |
| 8444 | 2005-07-29 07:36:13.000 | 3329 3329 | 213 213 | 2005-08-05 04:55:13.000 | 1 1 | 2020-12-23 07:17:21 |
| 8542 | 2005-07-29 11:01:50.000 | 792 792 | 213 213 | 2005-07-30 08:19:50.000 | 1 1 | 2020-12-23 07:17:23 |
| 9150 | 2005-07-30 10:49:32.000 | 2834 2834 | 213 213 | 2005-08-08 15:43:32.000 | 1 1 | 2020-12-23 07:17:31 |
| 9340 | 2005-07-30 18:07:16.000 | 3228 3228 | 213 213 | 2005-08-04 14:33:16.000 | 2 2 | 2020-12-23 07:17:34 |
| 9477 | 2005-07-30 23:07:22.000 | 1932 1932 | 213 213 | 2005-08-04 20:54:22.000 | 1 1 | 2020-12-23 07:17:36 |
| 10449 | 2005-08-01 09:09:59.000 | 1395 1395 | 213 213 | 2005-08-05 11:25:59.000 | 1 1 | 2020-12-23 07:17:50 |
| 11778 | 2005-08-17 10:31:40.000 | 1306 1306 | 213 213 | 2005-08-25 13:53:40.000 | 2 2 | 2020-12-23 07:18:08 |
| 13354 | 2005-08-19 20:55:23.000 | 1356 1356 | 213 213 | 2005-08-27 20:09:23.000 | 2 2 | 2020-12-23 07:18:30 |
| 13426 | 2005-08-19 23:15:00.000 | 3409 3409 | 213 213 | 2005-08-21 01:53:00.000 | 2 2 | 2020-12-23 07:18:32 |
| 14374 | 2006-02-14 15:16:03.000 | 236 236 | 213 213 | 2 2 | 2020-12-23 07:18:46 | |
| 14744 | 2005-08-21 22:45:21.000 | 800 800 | 213 213 | 2005-08-29 23:57:21.000 | 1 1 | 2020-12-23 07:18:51 |
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) ;