rental
29 rows where customer_id = 563
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 |
|---|---|---|---|---|---|---|
| 758 | 2005-05-29 10:31:56.000 | 1191 1191 | 563 563 | 2005-06-01 14:53:56.000 | 2 2 | 2020-12-23 07:15:29 |
| 773 | 2005-05-29 13:18:05.000 | 245 245 | 563 563 | 2005-06-07 17:22:05.000 | 1 1 | 2020-12-23 07:15:30 |
| 1545 | 2005-06-16 01:31:23.000 | 762 762 | 563 563 | 2005-06-24 05:50:23.000 | 1 1 | 2020-12-23 07:15:40 |
| 2573 | 2005-06-19 04:23:18.000 | 3354 3354 | 563 563 | 2005-06-23 06:04:18.000 | 1 1 | 2020-12-23 07:15:55 |
| 4106 | 2005-07-07 06:33:35.000 | 4083 4083 | 563 563 | 2005-07-13 04:03:35.000 | 1 1 | 2020-12-23 07:16:17 |
| 4436 | 2005-07-07 22:52:04.000 | 4326 4326 | 563 563 | 2005-07-10 04:51:04.000 | 1 1 | 2020-12-23 07:16:22 |
| 4565 | 2005-07-08 05:12:28.000 | 3755 3755 | 563 563 | 2005-07-17 03:38:28.000 | 2 2 | 2020-12-23 07:16:24 |
| 4629 | 2005-07-08 08:31:26.000 | 228 228 | 563 563 | 2005-07-17 12:07:26.000 | 1 1 | 2020-12-23 07:16:25 |
| 4711 | 2005-07-08 12:06:58.000 | 2327 2327 | 563 563 | 2005-07-12 08:37:58.000 | 1 1 | 2020-12-23 07:16:26 |
| 4776 | 2005-07-08 15:44:20.000 | 2598 2598 | 563 563 | 2005-07-17 10:50:20.000 | 2 2 | 2020-12-23 07:16:27 |
| 4808 | 2005-07-08 17:02:49.000 | 2544 2544 | 563 563 | 2005-07-12 22:49:49.000 | 2 2 | 2020-12-23 07:16:28 |
| 4825 | 2005-07-08 17:43:01.000 | 2419 2419 | 563 563 | 2005-07-11 20:58:01.000 | 1 1 | 2020-12-23 07:16:28 |
| 4883 | 2005-07-08 19:46:58.000 | 1366 1366 | 563 563 | 2005-07-10 15:48:58.000 | 1 1 | 2020-12-23 07:16:29 |
| 5406 | 2005-07-09 20:13:23.000 | 1322 1322 | 563 563 | 2005-07-11 22:05:23.000 | 2 2 | 2020-12-23 07:16:36 |
| 6326 | 2005-07-11 19:06:55.000 | 2137 2137 | 563 563 | 2005-07-12 20:41:55.000 | 1 1 | 2020-12-23 07:16:50 |
| 7612 | 2005-07-28 00:11:55.000 | 1411 1411 | 563 563 | 2005-07-30 00:47:55.000 | 1 1 | 2020-12-23 07:17:09 |
| 8262 | 2005-07-29 01:11:18.000 | 1341 1341 | 563 563 | 2005-08-02 05:17:18.000 | 2 2 | 2020-12-23 07:17:18 |
| 8610 | 2005-07-29 13:25:02.000 | 4222 4222 | 563 563 | 2005-08-03 08:10:02.000 | 2 2 | 2020-12-23 07:17:24 |
| 8632 | 2005-07-29 14:11:25.000 | 1666 1666 | 563 563 | 2005-08-07 15:32:25.000 | 1 1 | 2020-12-23 07:17:24 |
| 8812 | 2005-07-29 21:47:40.000 | 1172 1172 | 563 563 | 2005-08-04 01:18:40.000 | 2 2 | 2020-12-23 07:17:26 |
| 11829 | 2005-08-17 12:52:04.000 | 2207 2207 | 563 563 | 2005-08-19 10:50:04.000 | 2 2 | 2020-12-23 07:18:09 |
| 12039 | 2005-08-17 20:29:08.000 | 4404 4404 | 563 563 | 2005-08-23 21:20:08.000 | 2 2 | 2020-12-23 07:18:12 |
| 12202 | 2005-08-18 02:14:08.000 | 672 672 | 563 563 | 2005-08-24 04:35:08.000 | 1 1 | 2020-12-23 07:18:14 |
| 12832 | 2005-08-19 01:41:44.000 | 2820 2820 | 563 563 | 2005-08-24 23:15:44.000 | 2 2 | 2020-12-23 07:18:23 |
| 13863 | 2005-08-20 14:57:50.000 | 2417 2417 | 563 563 | 2005-08-29 15:36:50.000 | 2 2 | 2020-12-23 07:18:38 |
| 14592 | 2005-08-21 17:30:17.000 | 2681 2681 | 563 563 | 2005-08-22 20:06:17.000 | 2 2 | 2020-12-23 07:18:49 |
| 15507 | 2005-08-23 02:48:26.000 | 3130 3130 | 563 563 | 2005-08-27 01:32:26.000 | 1 1 | 2020-12-23 07:19:02 |
| 15638 | 2005-08-23 07:54:54.000 | 3358 3358 | 563 563 | 2005-08-30 13:33:54.000 | 2 2 | 2020-12-23 07:19:04 |
| 15850 | 2005-08-23 15:45:42.000 | 586 586 | 563 563 | 2005-08-27 19:24:42.000 | 1 1 | 2020-12-23 07:19:07 |
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) ;