rental
29 rows where customer_id = 113
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 |
|---|---|---|---|---|---|---|
| 510 | 2005-05-28 02:52:14.000 | 4338 4338 | 113 113 | 2005-05-30 21:20:14.000 | 2 2 | 2020-12-23 07:15:26 |
| 776 | 2005-05-29 13:35:35.000 | 4339 4339 | 113 113 | 2005-06-03 17:33:35.000 | 1 1 | 2020-12-23 07:15:30 |
| 2077 | 2005-06-17 16:46:11.000 | 4478 4478 | 113 113 | 2005-06-19 15:10:11.000 | 1 1 | 2020-12-23 07:15:48 |
| 2282 | 2005-06-18 06:48:23.000 | 4388 4388 | 113 113 | 2005-06-24 11:04:23.000 | 2 2 | 2020-12-23 07:15:51 |
| 2783 | 2005-06-19 18:29:10.000 | 2778 2778 | 113 113 | 2005-06-21 22:09:10.000 | 1 1 | 2020-12-23 07:15:58 |
| 3004 | 2005-06-20 10:04:36.000 | 2836 2836 | 113 113 | 2005-06-23 07:38:36.000 | 2 2 | 2020-12-23 07:16:01 |
| 3124 | 2005-06-20 18:28:19.000 | 3342 3342 | 113 113 | 2005-06-28 21:08:19.000 | 1 1 | 2020-12-23 07:16:02 |
| 3162 | 2005-06-20 21:21:15.000 | 3220 3220 | 113 113 | 2005-06-29 18:42:15.000 | 1 1 | 2020-12-23 07:16:03 |
| 3657 | 2005-07-06 07:55:30.000 | 4134 4134 | 113 113 | 2005-07-11 07:18:30.000 | 1 1 | 2020-12-23 07:16:10 |
| 4333 | 2005-07-07 18:31:50.000 | 76 76 | 113 113 | 2005-07-08 21:26:50.000 | 1 1 | 2020-12-23 07:16:21 |
| 5189 | 2005-07-09 10:23:21.000 | 2539 2539 | 113 113 | 2005-07-14 08:06:21.000 | 1 1 | 2020-12-23 07:16:33 |
| 5324 | 2005-07-09 16:34:18.000 | 4024 4024 | 113 113 | 2005-07-15 12:35:18.000 | 2 2 | 2020-12-23 07:16:35 |
| 5655 | 2005-07-10 07:31:06.000 | 3470 3470 | 113 113 | 2005-07-17 08:22:06.000 | 1 1 | 2020-12-23 07:16:40 |
| 5774 | 2005-07-10 13:31:56.000 | 326 326 | 113 113 | 2005-07-18 07:32:56.000 | 1 1 | 2020-12-23 07:16:42 |
| 6025 | 2005-07-11 02:18:13.000 | 3306 3306 | 113 113 | 2005-07-11 23:30:13.000 | 1 1 | 2020-12-23 07:16:45 |
| 6836 | 2005-07-12 18:58:05.000 | 2744 2744 | 113 113 | 2005-07-15 17:45:05.000 | 1 1 | 2020-12-23 07:16:57 |
| 7468 | 2005-07-27 18:52:27.000 | 3166 3166 | 113 113 | 2005-08-03 19:29:27.000 | 2 2 | 2020-12-23 07:17:07 |
| 7587 | 2005-07-27 23:23:03.000 | 655 655 | 113 113 | 2005-08-01 17:34:03.000 | 1 1 | 2020-12-23 07:17:08 |
| 9221 | 2005-07-30 13:20:06.000 | 2496 2496 | 113 113 | 2005-08-06 13:58:06.000 | 2 2 | 2020-12-23 07:17:32 |
| 10181 | 2005-08-01 00:00:44.000 | 3111 3111 | 113 113 | 2005-08-04 19:33:44.000 | 1 1 | 2020-12-23 07:17:46 |
| 10378 | 2005-08-01 06:30:04.000 | 4110 4110 | 113 113 | 2005-08-06 09:10:04.000 | 1 1 | 2020-12-23 07:17:49 |
| 10578 | 2005-08-01 13:48:02.000 | 3704 3704 | 113 113 | 2005-08-07 13:40:02.000 | 1 1 | 2020-12-23 07:17:52 |
| 11655 | 2005-08-17 05:11:07.000 | 1699 1699 | 113 113 | 2005-08-26 10:18:07.000 | 1 1 | 2020-12-23 07:18:07 |
| 11872 | 2005-08-17 14:11:45.000 | 4306 4306 | 113 113 | 2005-08-21 17:02:45.000 | 2 2 | 2020-12-23 07:18:10 |
| 12392 | 2005-08-18 08:57:58.000 | 2695 2695 | 113 113 | 2005-08-25 05:20:58.000 | 2 2 | 2020-12-23 07:18:17 |
| 12817 | 2005-08-19 01:04:35.000 | 1246 1246 | 113 113 | 2005-08-25 21:14:35.000 | 1 1 | 2020-12-23 07:18:22 |
| 13406 | 2005-08-19 22:22:01.000 | 3031 3031 | 113 113 | 2005-08-22 18:16:01.000 | 1 1 | 2020-12-23 07:18:31 |
| 15600 | 2005-08-23 06:31:24.000 | 2260 2260 | 113 113 | 2005-08-28 06:53:24.000 | 1 1 | 2020-12-23 07:19:03 |
| 15770 | 2005-08-23 13:18:16.000 | 1424 1424 | 113 113 | 2005-08-29 11:31:16.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;