rental
36 rows where customer_id = 29
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 |
|---|---|---|---|---|---|---|
| 194 | 2005-05-26 06:52:33.000 | 1337 1337 | 29 29 | 2005-05-30 04:08:33.000 | 2 2 | 2020-12-23 07:15:22 |
| 2655 | 2005-06-19 10:38:42.000 | 1649 1649 | 29 29 | 2005-06-23 14:20:42.000 | 1 1 | 2020-12-23 07:15:56 |
| 2673 | 2005-06-19 11:42:20.000 | 2487 2487 | 29 29 | 2005-06-23 07:16:20.000 | 1 1 | 2020-12-23 07:15:56 |
| 2701 | 2005-06-19 13:33:06.000 | 1623 1623 | 29 29 | 2005-06-28 15:11:06.000 | 2 2 | 2020-12-23 07:15:57 |
| 2735 | 2005-06-19 15:42:07.000 | 4550 4550 | 29 29 | 2005-06-22 17:28:07.000 | 1 1 | 2020-12-23 07:15:57 |
| 2801 | 2005-06-19 19:18:09.000 | 4572 4572 | 29 29 | 2005-06-20 20:11:09.000 | 2 2 | 2020-12-23 07:15:58 |
| 2923 | 2005-06-20 04:16:07.000 | 109 109 | 29 29 | 2005-06-21 05:04:07.000 | 1 1 | 2020-12-23 07:16:00 |
| 3324 | 2005-06-21 08:49:16.000 | 2830 2830 | 29 29 | 2005-06-22 12:31:16.000 | 1 1 | 2020-12-23 07:16:05 |
| 4262 | 2005-07-07 14:24:30.000 | 3122 3122 | 29 29 | 2005-07-14 13:12:30.000 | 1 1 | 2020-12-23 07:16:19 |
| 4313 | 2005-07-07 17:36:56.000 | 91 91 | 29 29 | 2005-07-13 12:00:56.000 | 1 1 | 2020-12-23 07:16:20 |
| 4535 | 2005-07-08 03:40:46.000 | 561 561 | 29 29 | 2005-07-13 06:53:46.000 | 2 2 | 2020-12-23 07:16:24 |
| 5442 | 2005-07-09 21:55:19.000 | 3093 3093 | 29 29 | 2005-07-19 01:18:19.000 | 2 2 | 2020-12-23 07:16:37 |
| 5857 | 2005-07-10 17:59:29.000 | 1265 1265 | 29 29 | 2005-07-18 18:13:29.000 | 1 1 | 2020-12-23 07:16:43 |
| 7237 | 2005-07-27 10:12:36.000 | 1904 1904 | 29 29 | 2005-07-31 08:40:36.000 | 2 2 | 2020-12-23 07:17:03 |
| 7451 | 2005-07-27 18:18:41.000 | 2382 2382 | 29 29 | 2005-08-03 13:55:41.000 | 2 2 | 2020-12-23 07:17:06 |
| 7453 | 2005-07-27 18:27:13.000 | 2992 2992 | 29 29 | 2005-07-29 23:52:13.000 | 1 1 | 2020-12-23 07:17:06 |
| 8673 | 2005-07-29 15:50:14.000 | 2167 2167 | 29 29 | 2005-08-03 18:30:14.000 | 1 1 | 2020-12-23 07:17:24 |
| 9392 | 2005-07-30 19:50:13.000 | 2797 2797 | 29 29 | 2005-08-03 22:38:13.000 | 2 2 | 2020-12-23 07:17:35 |
| 9946 | 2005-07-31 15:48:54.000 | 2100 2100 | 29 29 | 2005-08-03 12:42:54.000 | 2 2 | 2020-12-23 07:17:43 |
| 10543 | 2005-08-01 12:36:09.000 | 624 624 | 29 29 | 2005-08-07 07:42:09.000 | 1 1 | 2020-12-23 07:17:51 |
| 10899 | 2005-08-02 01:30:21.000 | 859 859 | 29 29 | 2005-08-06 05:01:21.000 | 2 2 | 2020-12-23 07:17:56 |
| 11079 | 2005-08-02 07:29:10.000 | 3185 3185 | 29 29 | 2005-08-07 01:59:10.000 | 2 2 | 2020-12-23 07:17:59 |
| 11962 | 2005-08-17 17:34:38.000 | 4384 4384 | 29 29 | 2005-08-21 12:59:38.000 | 2 2 | 2020-12-23 07:18:11 |
| 12488 | 2005-08-18 12:48:22.000 | 3323 3323 | 29 29 | 2005-08-19 16:19:22.000 | 1 1 | 2020-12-23 07:18:18 |
| 12508 | 2005-08-18 13:20:13.000 | 1059 1059 | 29 29 | 2005-08-22 12:55:13.000 | 1 1 | 2020-12-23 07:18:18 |
| 12569 | 2005-08-18 15:20:46.000 | 1009 1009 | 29 29 | 2005-08-24 12:38:46.000 | 2 2 | 2020-12-23 07:18:19 |
| 12615 | 2005-08-18 17:16:07.000 | 2191 2191 | 29 29 | 2005-08-27 12:57:07.000 | 1 1 | 2020-12-23 07:18:19 |
| 13173 | 2005-08-19 13:50:36.000 | 1304 1304 | 29 29 | 2005-08-26 12:34:36.000 | 2 2 | 2020-12-23 07:18:28 |
| 13436 | 2005-08-19 23:36:25.000 | 2499 2499 | 29 29 | 2005-08-23 18:38:25.000 | 1 1 | 2020-12-23 07:18:32 |
| 13777 | 2005-08-20 12:03:35.000 | 3587 3587 | 29 29 | 2005-08-27 10:13:35.000 | 1 1 | 2020-12-23 07:18:37 |
| 13832 | 2005-08-20 14:00:25.000 | 3299 3299 | 29 29 | 2005-08-28 10:11:25.000 | 1 1 | 2020-12-23 07:18:38 |
| 14174 | 2005-08-21 03:01:45.000 | 1862 1862 | 29 29 | 2005-08-22 07:19:45.000 | 2 2 | 2020-12-23 07:18:43 |
| 14703 | 2005-08-21 21:01:19.000 | 4329 4329 | 29 29 | 2005-08-22 15:13:19.000 | 2 2 | 2020-12-23 07:18:50 |
| 14985 | 2005-08-22 07:35:56.000 | 2017 2017 | 29 29 | 2005-08-29 13:17:56.000 | 1 1 | 2020-12-23 07:18:54 |
| 14997 | 2005-08-22 07:53:00.000 | 2724 2724 | 29 29 | 2005-08-28 03:47:00.000 | 2 2 | 2020-12-23 07:18:55 |
| 15577 | 2006-02-14 15:16:03.000 | 539 539 | 29 29 | 2 2 | 2020-12-23 07:19:03 |
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) ;