rental
31 rows where customer_id = 393
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 |
|---|---|---|---|---|---|---|
| 599 | 2005-05-28 14:05:57.000 | 4136 4136 | 393 393 | 2005-06-01 16:41:57.000 | 2 2 | 2020-12-23 07:15:27 |
| 886 | 2005-05-30 06:54:51.000 | 4356 4356 | 393 393 | 2005-06-01 06:04:51.000 | 2 2 | 2020-12-23 07:15:32 |
| 1611 | 2005-06-16 06:41:35.000 | 1739 1739 | 393 393 | 2005-06-25 06:13:35.000 | 2 2 | 2020-12-23 07:15:41 |
| 1915 | 2005-06-17 05:28:28.000 | 2620 2620 | 393 393 | 2005-06-21 07:12:28.000 | 2 2 | 2020-12-23 07:15:45 |
| 2219 | 2005-06-18 03:16:54.000 | 1881 1881 | 393 393 | 2005-06-22 01:29:54.000 | 1 1 | 2020-12-23 07:15:50 |
| 2319 | 2005-06-18 09:24:22.000 | 1521 1521 | 393 393 | 2005-06-26 14:12:22.000 | 2 2 | 2020-12-23 07:15:51 |
| 3001 | 2005-06-20 09:50:16.000 | 2941 2941 | 393 393 | 2005-06-28 05:13:16.000 | 2 2 | 2020-12-23 07:16:01 |
| 4275 | 2005-07-07 14:43:51.000 | 1167 1167 | 393 393 | 2005-07-15 18:04:51.000 | 2 2 | 2020-12-23 07:16:20 |
| 4546 | 2005-07-08 04:18:36.000 | 4507 4507 | 393 393 | 2005-07-17 08:23:36.000 | 1 1 | 2020-12-23 07:16:24 |
| 4632 | 2005-07-08 08:38:57.000 | 4330 4330 | 393 393 | 2005-07-15 09:33:57.000 | 1 1 | 2020-12-23 07:16:25 |
| 4791 | 2005-07-08 16:27:24.000 | 2505 2505 | 393 393 | 2005-07-14 21:50:24.000 | 2 2 | 2020-12-23 07:16:27 |
| 5099 | 2005-07-09 06:14:30.000 | 768 768 | 393 393 | 2005-07-12 08:23:30.000 | 2 2 | 2020-12-23 07:16:32 |
| 6221 | 2005-07-11 13:24:27.000 | 1699 1699 | 393 393 | 2005-07-15 17:51:27.000 | 1 1 | 2020-12-23 07:16:48 |
| 6513 | 2005-07-12 03:44:43.000 | 2671 2671 | 393 393 | 2005-07-13 05:54:43.000 | 1 1 | 2020-12-23 07:16:52 |
| 6930 | 2005-07-26 23:00:01.000 | 2989 2989 | 393 393 | 2005-08-04 01:57:01.000 | 2 2 | 2020-12-23 07:16:59 |
| 7486 | 2005-07-27 19:29:24.000 | 4362 4362 | 393 393 | 2005-08-02 20:46:24.000 | 2 2 | 2020-12-23 07:17:07 |
| 8004 | 2005-07-28 15:14:07.000 | 4428 4428 | 393 393 | 2005-07-30 19:32:07.000 | 2 2 | 2020-12-23 07:17:14 |
| 8448 | 2005-07-29 07:41:54.000 | 4349 4349 | 393 393 | 2005-08-02 13:12:54.000 | 1 1 | 2020-12-23 07:17:21 |
| 9763 | 2005-07-31 09:34:03.000 | 126 126 | 393 393 | 2005-08-08 05:30:03.000 | 1 1 | 2020-12-23 07:17:40 |
| 10158 | 2005-07-31 22:40:31.000 | 1626 1626 | 393 393 | 2005-08-08 18:25:31.000 | 2 2 | 2020-12-23 07:17:46 |
| 12059 | 2005-08-17 21:09:23.000 | 4111 4111 | 393 393 | 2005-08-25 23:09:23.000 | 1 1 | 2020-12-23 07:18:12 |
| 12113 | 2005-08-17 23:01:00.000 | 2707 2707 | 393 393 | 2005-08-25 03:57:00.000 | 2 2 | 2020-12-23 07:18:13 |
| 12563 | 2005-08-18 15:08:29.000 | 2552 2552 | 393 393 | 2005-08-27 15:15:29.000 | 1 1 | 2020-12-23 07:18:19 |
| 12676 | 2005-08-18 19:34:40.000 | 2581 2581 | 393 393 | 2005-08-20 18:03:40.000 | 2 2 | 2020-12-23 07:18:20 |
| 13184 | 2005-08-19 14:16:18.000 | 4395 4395 | 393 393 | 2005-08-20 08:44:18.000 | 1 1 | 2020-12-23 07:18:28 |
| 13357 | 2005-08-19 21:02:59.000 | 3295 3295 | 393 393 | 2005-08-25 23:46:59.000 | 2 2 | 2020-12-23 07:18:31 |
| 13788 | 2005-08-20 12:15:41.000 | 3177 3177 | 393 393 | 2005-08-28 16:28:41.000 | 2 2 | 2020-12-23 07:18:37 |
| 15132 | 2005-08-22 13:11:25.000 | 3474 3474 | 393 393 | 2005-08-27 17:04:25.000 | 2 2 | 2020-12-23 07:18:57 |
| 15284 | 2005-08-22 19:17:08.000 | 2265 2265 | 393 393 | 2005-08-29 13:28:08.000 | 2 2 | 2020-12-23 07:18:59 |
| 15527 | 2005-08-23 03:44:51.000 | 88 88 | 393 393 | 2005-08-25 03:09:51.000 | 1 1 | 2020-12-23 07:19:02 |
| 16049 | 2005-08-23 22:50:12.000 | 2666 2666 | 393 393 | 2005-08-30 01:01:12.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) ;