rental
27 rows where customer_id = 74
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 |
|---|---|---|---|---|---|---|
| 1121 | 2005-05-31 16:37:36.000 | 1691 1691 | 74 74 | 2005-06-06 21:02:36.000 | 1 1 | 2020-12-23 07:15:35 |
| 2498 | 2005-06-18 22:56:26.000 | 2291 2291 | 74 74 | 2005-06-22 20:02:26.000 | 1 1 | 2020-12-23 07:15:54 |
| 2517 | 2005-06-19 00:11:26.000 | 53 53 | 74 74 | 2005-06-25 02:19:26.000 | 1 1 | 2020-12-23 07:15:54 |
| 3020 | 2005-06-20 11:12:04.000 | 4363 4363 | 74 74 | 2005-06-27 07:31:04.000 | 2 2 | 2020-12-23 07:16:01 |
| 3445 | 2005-06-21 20:40:28.000 | 2381 2381 | 74 74 | 2005-06-29 00:47:28.000 | 2 2 | 2020-12-23 07:16:07 |
| 3819 | 2005-07-06 15:35:06.000 | 1814 1814 | 74 74 | 2005-07-14 19:08:06.000 | 1 1 | 2020-12-23 07:16:13 |
| 5530 | 2005-07-10 02:13:49.000 | 2701 2701 | 74 74 | 2005-07-18 08:01:49.000 | 2 2 | 2020-12-23 07:16:38 |
| 5603 | 2005-07-10 05:04:54.000 | 1308 1308 | 74 74 | 2005-07-12 01:54:54.000 | 2 2 | 2020-12-23 07:16:39 |
| 5917 | 2005-07-10 21:30:22.000 | 2910 2910 | 74 74 | 2005-07-12 18:54:22.000 | 2 2 | 2020-12-23 07:16:44 |
| 6241 | 2005-07-11 14:40:48.000 | 4449 4449 | 74 74 | 2005-07-18 09:51:48.000 | 1 1 | 2020-12-23 07:16:48 |
| 6475 | 2005-07-12 01:36:57.000 | 2035 2035 | 74 74 | 2005-07-17 21:22:57.000 | 1 1 | 2020-12-23 07:16:52 |
| 7304 | 2005-07-27 12:56:56.000 | 1162 1162 | 74 74 | 2005-08-05 09:19:56.000 | 2 2 | 2020-12-23 07:17:04 |
| 8796 | 2005-07-29 21:09:11.000 | 2234 2234 | 74 74 | 2005-08-04 22:55:11.000 | 1 1 | 2020-12-23 07:17:26 |
| 9112 | 2005-07-30 09:06:31.000 | 395 395 | 74 74 | 2005-08-04 05:12:31.000 | 2 2 | 2020-12-23 07:17:31 |
| 10051 | 2005-07-31 19:14:20.000 | 163 163 | 74 74 | 2005-08-05 19:45:20.000 | 1 1 | 2020-12-23 07:17:44 |
| 10624 | 2005-08-01 15:27:05.000 | 3801 3801 | 74 74 | 2005-08-05 19:50:05.000 | 1 1 | 2020-12-23 07:17:53 |
| 12374 | 2005-08-18 08:07:45.000 | 939 939 | 74 74 | 2005-08-26 10:42:45.000 | 2 2 | 2020-12-23 07:18:16 |
| 12477 | 2005-08-18 12:25:01.000 | 4516 4516 | 74 74 | 2005-08-25 17:25:01.000 | 2 2 | 2020-12-23 07:18:18 |
| 13335 | 2005-08-19 20:03:18.000 | 1861 1861 | 74 74 | 2005-08-24 20:09:18.000 | 2 2 | 2020-12-23 07:18:30 |
| 13520 | 2005-08-20 02:41:46.000 | 3326 3326 | 74 74 | 2005-08-22 01:53:46.000 | 1 1 | 2020-12-23 07:18:33 |
| 13583 | 2005-08-20 05:29:45.000 | 176 176 | 74 74 | 2005-08-26 06:49:45.000 | 1 1 | 2020-12-23 07:18:34 |
| 13747 | 2005-08-20 10:56:06.000 | 3332 3332 | 74 74 | 2005-08-29 10:29:06.000 | 1 1 | 2020-12-23 07:18:37 |
| 15286 | 2005-08-22 19:17:56.000 | 3731 3731 | 74 74 | 2005-08-29 16:08:56.000 | 2 2 | 2020-12-23 07:18:59 |
| 15325 | 2005-08-22 20:27:38.000 | 3549 3549 | 74 74 | 2005-08-23 15:24:38.000 | 1 1 | 2020-12-23 07:19:00 |
| 15500 | 2005-08-23 02:39:37.000 | 886 886 | 74 74 | 2005-08-27 06:42:37.000 | 1 1 | 2020-12-23 07:19:02 |
| 15739 | 2005-08-23 11:56:22.000 | 266 266 | 74 74 | 2005-08-29 16:10:22.000 | 2 2 | 2020-12-23 07:19:05 |
| 16046 | 2005-08-23 22:26:47.000 | 4364 4364 | 74 74 | 2005-08-27 18:02:47.000 | 2 2 | 2020-12-23 07:19:10 |
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) ;