rental
34 rows where customer_id = 181
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 |
|---|---|---|---|---|---|---|
| 579 | 2005-05-28 11:19:23.000 | 3481 3481 | 181 181 | 2005-06-02 13:51:23.000 | 1 1 | 2020-12-23 07:15:27 |
| 1638 | 2005-06-16 08:32:36.000 | 1905 1905 | 181 181 | 2005-06-18 07:11:36.000 | 2 2 | 2020-12-23 07:15:41 |
| 2645 | 2005-06-19 09:50:35.000 | 2284 2284 | 181 181 | 2005-06-28 06:47:35.000 | 2 2 | 2020-12-23 07:15:56 |
| 3449 | 2005-06-21 21:01:27.000 | 210 210 | 181 181 | 2005-06-27 21:20:27.000 | 1 1 | 2020-12-23 07:16:07 |
| 3469 | 2005-06-21 22:48:59.000 | 4087 4087 | 181 181 | 2005-06-28 19:32:59.000 | 1 1 | 2020-12-23 07:16:07 |
| 3862 | 2005-07-06 17:35:22.000 | 471 471 | 181 181 | 2005-07-15 17:13:22.000 | 1 1 | 2020-12-23 07:16:13 |
| 4428 | 2005-07-07 22:29:40.000 | 2575 2575 | 181 181 | 2005-07-11 02:46:40.000 | 2 2 | 2020-12-23 07:16:22 |
| 6477 | 2005-07-12 01:38:42.000 | 804 804 | 181 181 | 2005-07-17 05:19:42.000 | 2 2 | 2020-12-23 07:16:52 |
| 6946 | 2005-07-26 23:40:07.000 | 1854 1854 | 181 181 | 2005-08-04 01:18:07.000 | 2 2 | 2020-12-23 07:16:59 |
| 7393 | 2005-07-27 16:02:52.000 | 2369 2369 | 181 181 | 2005-08-02 13:24:52.000 | 1 1 | 2020-12-23 07:17:06 |
| 7632 | 2005-07-28 01:02:40.000 | 3233 3233 | 181 181 | 2005-07-30 05:31:40.000 | 2 2 | 2020-12-23 07:17:09 |
| 8593 | 2005-07-29 12:38:14.000 | 2601 2601 | 181 181 | 2005-08-07 07:04:14.000 | 1 1 | 2020-12-23 07:17:23 |
| 8601 | 2005-07-29 13:03:31.000 | 3247 3247 | 181 181 | 2005-08-06 16:32:31.000 | 1 1 | 2020-12-23 07:17:23 |
| 9214 | 2005-07-30 13:10:14.000 | 2823 2823 | 181 181 | 2005-08-06 14:22:14.000 | 2 2 | 2020-12-23 07:17:32 |
| 9235 | 2005-07-30 13:47:17.000 | 984 984 | 181 181 | 2005-08-06 17:15:17.000 | 2 2 | 2020-12-23 07:17:33 |
| 9357 | 2005-07-30 18:37:00.000 | 3927 3927 | 181 181 | 2005-08-08 19:57:00.000 | 2 2 | 2020-12-23 07:17:34 |
| 9844 | 2005-07-31 12:26:31.000 | 3930 3930 | 181 181 | 2005-08-05 13:58:31.000 | 1 1 | 2020-12-23 07:17:42 |
| 10262 | 2005-08-01 03:01:26.000 | 3842 3842 | 181 181 | 2005-08-08 08:03:26.000 | 2 2 | 2020-12-23 07:17:47 |
| 10362 | 2005-08-01 05:55:13.000 | 72 72 | 181 181 | 2005-08-10 10:23:13.000 | 2 2 | 2020-12-23 07:17:49 |
| 10703 | 2005-08-01 18:37:39.000 | 1818 1818 | 181 181 | 2005-08-07 23:50:39.000 | 2 2 | 2020-12-23 07:17:54 |
| 10748 | 2005-08-01 20:01:24.000 | 3769 3769 | 181 181 | 2005-08-05 19:55:24.000 | 1 1 | 2020-12-23 07:17:54 |
| 10773 | 2005-08-01 20:53:45.000 | 3854 3854 | 181 181 | 2005-08-07 00:16:45.000 | 1 1 | 2020-12-23 07:17:55 |
| 11224 | 2005-08-02 12:40:38.000 | 3938 3938 | 181 181 | 2005-08-04 10:02:38.000 | 2 2 | 2020-12-23 07:18:00 |
| 12363 | 2005-08-18 07:52:49.000 | 3447 3447 | 181 181 | 2005-08-26 03:20:49.000 | 2 2 | 2020-12-23 07:18:16 |
| 12411 | 2005-08-18 09:47:57.000 | 1234 1234 | 181 181 | 2005-08-21 05:54:57.000 | 2 2 | 2020-12-23 07:18:17 |
| 12678 | 2005-08-18 19:41:27.000 | 2504 2504 | 181 181 | 2005-08-23 15:14:27.000 | 2 2 | 2020-12-23 07:18:20 |
| 12939 | 2005-08-19 05:38:25.000 | 3375 3375 | 181 181 | 2005-08-23 23:52:25.000 | 1 1 | 2020-12-23 07:18:24 |
| 13008 | 2006-02-14 15:16:03.000 | 1838 1838 | 181 181 | 1 1 | 2020-12-23 07:18:25 | |
| 13118 | 2005-08-19 11:39:58.000 | 470 470 | 181 181 | 2005-08-25 14:44:58.000 | 1 1 | 2020-12-23 07:18:27 |
| 13405 | 2005-08-19 22:20:49.000 | 1554 1554 | 181 181 | 2005-08-28 21:21:49.000 | 1 1 | 2020-12-23 07:18:31 |
| 13415 | 2005-08-19 22:48:09.000 | 1105 1105 | 181 181 | 2005-08-25 02:09:09.000 | 1 1 | 2020-12-23 07:18:31 |
| 14406 | 2005-08-21 10:46:35.000 | 2741 2741 | 181 181 | 2005-08-28 15:55:35.000 | 1 1 | 2020-12-23 07:18:46 |
| 15196 | 2005-08-22 16:11:32.000 | 1413 1413 | 181 181 | 2005-08-30 22:06:32.000 | 1 1 | 2020-12-23 07:18:58 |
| 15482 | 2005-08-23 02:01:20.000 | 3923 3923 | 181 181 | 2005-08-24 03:25:20.000 | 2 2 | 2020-12-23 07:19:02 |
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) ;