rental
31 rows where customer_id = 361
This data as json, xlsx, CSV (advanced)
Suggested facets: rental_date, 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 |
|---|---|---|---|---|---|---|
| 368 | 2005-05-27 07:42:29.000 | 1247 1247 | 361 361 | 2005-06-04 11:20:29.000 | 2 2 | 2020-12-23 07:15:24 |
| 1120 | 2005-05-31 16:37:14.000 | 2897 2897 | 361 361 | 2005-06-04 12:53:14.000 | 1 1 | 2020-12-23 07:15:35 |
| 2353 | 2005-06-18 12:53:25.000 | 3223 3223 | 361 361 | 2005-06-19 13:53:25.000 | 1 1 | 2020-12-23 07:15:52 |
| 2558 | 2005-06-19 03:09:16.000 | 2920 2920 | 361 361 | 2005-06-24 05:29:16.000 | 1 1 | 2020-12-23 07:15:55 |
| 2851 | 2005-06-19 23:07:03.000 | 2168 2168 | 361 361 | 2005-06-22 17:26:03.000 | 1 1 | 2020-12-23 07:15:59 |
| 3303 | 2005-06-21 07:34:14.000 | 1565 1565 | 361 361 | 2005-06-26 13:18:14.000 | 2 2 | 2020-12-23 07:16:05 |
| 5154 | 2005-07-09 08:46:18.000 | 3785 3785 | 361 361 | 2005-07-14 03:19:18.000 | 1 1 | 2020-12-23 07:16:33 |
| 6152 | 2005-07-11 09:25:52.000 | 560 560 | 361 361 | 2005-07-17 07:40:52.000 | 2 2 | 2020-12-23 07:16:47 |
| 6829 | 2005-07-12 18:38:59.000 | 4184 4184 | 361 361 | 2005-07-16 23:25:59.000 | 1 1 | 2020-12-23 07:16:57 |
| 6911 | 2005-07-12 22:14:34.000 | 901 901 | 361 361 | 2005-07-18 20:17:34.000 | 1 1 | 2020-12-23 07:16:58 |
| 6914 | 2005-07-12 22:26:56.000 | 496 496 | 361 361 | 2005-07-17 20:03:56.000 | 1 1 | 2020-12-23 07:16:58 |
| 7538 | 2005-07-27 21:38:04.000 | 2486 2486 | 361 361 | 2005-08-02 03:14:04.000 | 1 1 | 2020-12-23 07:17:08 |
| 7712 | 2005-07-28 04:29:53.000 | 3256 3256 | 361 361 | 2005-08-02 00:57:53.000 | 2 2 | 2020-12-23 07:17:10 |
| 8189 | 2005-07-28 22:36:26.000 | 3515 3515 | 361 361 | 2005-08-04 00:12:26.000 | 2 2 | 2020-12-23 07:17:17 |
| 10145 | 2005-07-31 22:15:13.000 | 2511 2511 | 361 361 | 2005-08-06 23:26:13.000 | 1 1 | 2020-12-23 07:17:46 |
| 10151 | 2005-07-31 22:22:37.000 | 4442 4442 | 361 361 | 2005-08-01 22:20:37.000 | 1 1 | 2020-12-23 07:17:46 |
| 10414 | 2005-08-01 08:03:55.000 | 1271 1271 | 361 361 | 2005-08-04 08:44:55.000 | 2 2 | 2020-12-23 07:17:49 |
| 10975 | 2005-08-02 04:11:25.000 | 2616 2616 | 361 361 | 2005-08-04 04:39:25.000 | 2 2 | 2020-12-23 07:17:57 |
| 11031 | 2005-08-02 05:52:58.000 | 1205 1205 | 361 361 | 2005-08-07 07:14:58.000 | 2 2 | 2020-12-23 07:17:58 |
| 11243 | 2005-08-02 13:32:48.000 | 2517 2517 | 361 361 | 2005-08-11 18:55:48.000 | 1 1 | 2020-12-23 07:18:01 |
| 11327 | 2005-08-02 16:40:47.000 | 773 773 | 361 361 | 2005-08-03 22:13:47.000 | 1 1 | 2020-12-23 07:18:02 |
| 11991 | 2005-08-17 18:27:08.000 | 940 940 | 361 361 | 2005-08-25 14:07:08.000 | 1 1 | 2020-12-23 07:18:11 |
| 12626 | 2005-08-18 17:36:45.000 | 4230 4230 | 361 361 | 2005-08-26 17:12:45.000 | 1 1 | 2020-12-23 07:18:20 |
| 12690 | 2005-08-18 20:06:57.000 | 3574 3574 | 361 361 | 2005-08-24 20:54:57.000 | 2 2 | 2020-12-23 07:18:21 |
| 13135 | 2005-08-19 12:22:52.000 | 1585 1585 | 361 361 | 2005-08-21 14:04:52.000 | 2 2 | 2020-12-23 07:18:27 |
| 13298 | 2006-02-14 15:16:03.000 | 2133 2133 | 361 361 | 2 2 | 2020-12-23 07:18:30 | |
| 14031 | 2005-08-20 21:24:24.000 | 440 440 | 361 361 | 2005-08-23 21:47:24.000 | 2 2 | 2020-12-23 07:18:41 |
| 14422 | 2005-08-21 11:21:46.000 | 1382 1382 | 361 361 | 2005-08-25 13:15:46.000 | 1 1 | 2020-12-23 07:18:47 |
| 14769 | 2006-02-14 15:16:03.000 | 1800 1800 | 361 361 | 1 1 | 2020-12-23 07:18:51 | |
| 15759 | 2005-08-23 12:47:37.000 | 1341 1341 | 361 361 | 2005-09-01 11:28:37.000 | 2 2 | 2020-12-23 07:19:06 |
| 15935 | 2005-08-23 18:41:11.000 | 907 907 | 361 361 | 2005-08-25 20:59:11.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) ;