rental
27 rows where customer_id = 116
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 |
|---|---|---|---|---|---|---|
| 1058 | 2005-05-31 08:04:17.000 | 40 40 | 116 116 | 2005-06-03 11:12:17.000 | 2 2 | 2020-12-23 07:15:34 |
| 1332 | 2005-06-15 11:36:01.000 | 1412 1412 | 116 116 | 2005-06-17 14:29:01.000 | 1 1 | 2020-12-23 07:15:37 |
| 1533 | 2005-06-16 00:46:02.000 | 2452 2452 | 116 116 | 2005-06-17 20:11:02.000 | 1 1 | 2020-12-23 07:15:40 |
| 1762 | 2005-06-16 17:50:19.000 | 3050 3050 | 116 116 | 2005-06-19 21:35:19.000 | 2 2 | 2020-12-23 07:15:43 |
| 1913 | 2005-06-17 05:19:47.000 | 1825 1825 | 116 116 | 2005-06-21 03:39:47.000 | 1 1 | 2020-12-23 07:15:45 |
| 2639 | 2005-06-19 09:24:02.000 | 3971 3971 | 116 116 | 2005-06-21 14:16:02.000 | 2 2 | 2020-12-23 07:15:56 |
| 2861 | 2005-06-19 23:21:34.000 | 1489 1489 | 116 116 | 2005-06-26 17:32:34.000 | 1 1 | 2020-12-23 07:15:59 |
| 3908 | 2005-07-06 19:47:26.000 | 3980 3980 | 116 116 | 2005-07-13 19:59:26.000 | 1 1 | 2020-12-23 07:16:14 |
| 3940 | 2005-07-06 21:16:59.000 | 1502 1502 | 116 116 | 2005-07-07 19:17:59.000 | 2 2 | 2020-12-23 07:16:15 |
| 4027 | 2005-07-07 02:19:01.000 | 56 56 | 116 116 | 2005-07-10 01:12:01.000 | 1 1 | 2020-12-23 07:16:16 |
| 4737 | 2005-07-08 13:23:53.000 | 4286 4286 | 116 116 | 2005-07-12 18:49:53.000 | 1 1 | 2020-12-23 07:16:27 |
| 5169 | 2005-07-09 09:22:25.000 | 2608 2608 | 116 116 | 2005-07-10 03:48:25.000 | 1 1 | 2020-12-23 07:16:33 |
| 6557 | 2005-07-12 05:12:03.000 | 1442 1442 | 116 116 | 2005-07-20 06:49:03.000 | 1 1 | 2020-12-23 07:16:53 |
| 7238 | 2005-07-27 10:13:41.000 | 1197 1197 | 116 116 | 2005-07-29 11:07:41.000 | 1 1 | 2020-12-23 07:17:03 |
| 7763 | 2005-07-28 06:35:16.000 | 2461 2461 | 116 116 | 2005-08-03 02:46:16.000 | 2 2 | 2020-12-23 07:17:11 |
| 9245 | 2005-07-30 14:07:50.000 | 2586 2586 | 116 116 | 2005-08-06 17:59:50.000 | 2 2 | 2020-12-23 07:17:33 |
| 9562 | 2005-07-31 02:23:20.000 | 1571 1571 | 116 116 | 2005-08-06 21:01:20.000 | 2 2 | 2020-12-23 07:17:37 |
| 10250 | 2005-08-01 02:38:42.000 | 3706 3706 | 116 116 | 2005-08-07 03:59:42.000 | 2 2 | 2020-12-23 07:17:47 |
| 10801 | 2005-08-01 22:09:35.000 | 3757 3757 | 116 116 | 2005-08-08 22:23:35.000 | 1 1 | 2020-12-23 07:17:55 |
| 11016 | 2005-08-02 05:19:13.000 | 4446 4446 | 116 116 | 2005-08-05 05:31:13.000 | 1 1 | 2020-12-23 07:17:58 |
| 12376 | 2005-08-18 08:20:29.000 | 852 852 | 116 116 | 2005-08-20 13:20:29.000 | 1 1 | 2020-12-23 07:18:16 |
| 13146 | 2005-08-19 12:54:42.000 | 1463 1463 | 116 116 | 2005-08-26 07:31:42.000 | 1 1 | 2020-12-23 07:18:27 |
| 13369 | 2005-08-19 21:19:47.000 | 2728 2728 | 116 116 | 2005-08-24 23:25:47.000 | 1 1 | 2020-12-23 07:18:31 |
| 13474 | 2005-08-20 01:04:32.000 | 1209 1209 | 116 116 | 2005-08-21 20:26:32.000 | 2 2 | 2020-12-23 07:18:32 |
| 13775 | 2005-08-20 11:56:30.000 | 1858 1858 | 116 116 | 2005-08-28 12:48:30.000 | 2 2 | 2020-12-23 07:18:37 |
| 14763 | 2005-08-21 23:34:00.000 | 1480 1480 | 116 116 | 2005-08-31 03:58:00.000 | 2 2 | 2020-12-23 07:18:51 |
| 14907 | 2005-08-22 04:44:09.000 | 2469 2469 | 116 116 | 2005-08-25 09:53:09.000 | 1 1 | 2020-12-23 07:18:53 |
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) ;