rental
30 rows where customer_id = 71
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 |
|---|---|---|---|---|---|---|
| 199 | 2005-05-26 07:11:58.000 | 2135 2135 | 71 71 | 2005-05-28 09:06:58.000 | 1 1 | 2020-12-23 07:15:22 |
| 272 | 2005-05-26 16:27:11.000 | 971 971 | 71 71 | 2005-06-03 13:10:11.000 | 2 2 | 2020-12-23 07:15:23 |
| 1873 | 2005-06-17 02:38:28.000 | 2933 2933 | 71 71 | 2005-06-23 04:39:28.000 | 1 1 | 2020-12-23 07:15:45 |
| 2374 | 2005-06-18 14:44:06.000 | 2634 2634 | 71 71 | 2005-06-22 17:14:06.000 | 1 1 | 2020-12-23 07:15:52 |
| 3345 | 2005-06-21 11:05:07.000 | 4442 4442 | 71 71 | 2005-06-26 15:14:07.000 | 2 2 | 2020-12-23 07:16:06 |
| 4614 | 2005-07-08 07:45:17.000 | 2579 2579 | 71 71 | 2005-07-12 02:10:17.000 | 2 2 | 2020-12-23 07:16:25 |
| 5281 | 2005-07-09 14:55:07.000 | 1966 1966 | 71 71 | 2005-07-13 15:24:07.000 | 2 2 | 2020-12-23 07:16:35 |
| 5358 | 2005-07-09 18:09:21.000 | 3764 3764 | 71 71 | 2005-07-14 23:59:21.000 | 2 2 | 2020-12-23 07:16:36 |
| 5543 | 2005-07-10 02:48:03.000 | 1496 1496 | 71 71 | 2005-07-17 05:49:03.000 | 2 2 | 2020-12-23 07:16:39 |
| 5770 | 2005-07-10 13:21:28.000 | 914 914 | 71 71 | 2005-07-11 08:59:28.000 | 2 2 | 2020-12-23 07:16:42 |
| 5814 | 2005-07-10 15:46:50.000 | 2537 2537 | 71 71 | 2005-07-13 15:28:50.000 | 2 2 | 2020-12-23 07:16:43 |
| 6020 | 2005-07-11 02:08:55.000 | 1974 1974 | 71 71 | 2005-07-16 22:07:55.000 | 1 1 | 2020-12-23 07:16:45 |
| 6739 | 2005-07-12 14:22:08.000 | 1221 1221 | 71 71 | 2005-07-18 16:57:08.000 | 2 2 | 2020-12-23 07:16:56 |
| 7160 | 2005-07-27 07:26:06.000 | 3905 3905 | 71 71 | 2005-07-31 04:54:06.000 | 2 2 | 2020-12-23 07:17:02 |
| 7550 | 2005-07-27 21:55:07.000 | 4488 4488 | 71 71 | 2005-07-28 23:34:07.000 | 2 2 | 2020-12-23 07:17:08 |
| 7982 | 2005-07-28 14:19:59.000 | 668 668 | 71 71 | 2005-07-29 14:09:59.000 | 2 2 | 2020-12-23 07:17:14 |
| 8128 | 2005-07-28 19:46:06.000 | 2872 2872 | 71 71 | 2005-08-06 16:10:06.000 | 2 2 | 2020-12-23 07:17:16 |
| 8293 | 2005-07-29 02:30:50.000 | 831 831 | 71 71 | 2005-08-04 03:09:50.000 | 2 2 | 2020-12-23 07:17:19 |
| 8574 | 2005-07-29 11:51:53.000 | 2949 2949 | 71 71 | 2005-08-03 05:59:53.000 | 2 2 | 2020-12-23 07:17:23 |
| 8668 | 2005-07-29 15:41:31.000 | 4531 4531 | 71 71 | 2005-08-01 16:20:31.000 | 2 2 | 2020-12-23 07:17:24 |
| 8783 | 2005-07-29 20:31:28.000 | 2316 2316 | 71 71 | 2005-08-02 19:33:28.000 | 2 2 | 2020-12-23 07:17:26 |
| 8789 | 2005-07-29 20:47:27.000 | 3062 3062 | 71 71 | 2005-08-05 18:36:27.000 | 1 1 | 2020-12-23 07:17:26 |
| 8956 | 2005-07-30 03:32:29.000 | 2129 2129 | 71 71 | 2005-08-01 03:08:29.000 | 2 2 | 2020-12-23 07:17:28 |
| 12417 | 2005-08-18 09:57:00.000 | 3500 3500 | 71 71 | 2005-08-19 08:56:00.000 | 1 1 | 2020-12-23 07:18:17 |
| 14105 | 2005-08-21 00:44:34.000 | 1111 1111 | 71 71 | 2005-08-29 19:00:34.000 | 1 1 | 2020-12-23 07:18:42 |
| 14228 | 2005-08-21 04:57:08.000 | 2016 2016 | 71 71 | 2005-08-25 00:06:08.000 | 2 2 | 2020-12-23 07:18:44 |
| 14781 | 2005-08-22 00:15:12.000 | 3458 3458 | 71 71 | 2005-08-29 21:02:12.000 | 1 1 | 2020-12-23 07:18:51 |
| 14904 | 2005-08-22 04:32:01.000 | 722 722 | 71 71 | 2005-08-29 05:21:01.000 | 1 1 | 2020-12-23 07:18:53 |
| 15704 | 2005-08-23 10:25:45.000 | 738 738 | 71 71 | 2005-08-29 16:06:45.000 | 2 2 | 2020-12-23 07:19:05 |
| 16000 | 2005-08-23 20:44:36.000 | 282 282 | 71 71 | 2005-08-25 02:29:36.000 | 1 1 | 2020-12-23 07:19:09 |
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) ;