rental
28 rows where customer_id = 441
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 |
|---|---|---|---|---|---|---|
| 823 | 2005-05-29 21:39:37.000 | 3249 3249 | 441 441 | 2005-05-30 22:06:37.000 | 1 1 | 2020-12-23 07:15:31 |
| 1602 | 2005-06-16 06:12:40.000 | 1777 1777 | 441 441 | 2005-06-19 03:50:40.000 | 2 2 | 2020-12-23 07:15:41 |
| 2328 | 2005-06-18 10:17:21.000 | 2304 2304 | 441 441 | 2005-06-21 04:18:21.000 | 1 1 | 2020-12-23 07:15:52 |
| 3629 | 2005-07-06 06:23:22.000 | 4019 4019 | 441 441 | 2005-07-08 09:32:22.000 | 2 2 | 2020-12-23 07:16:10 |
| 3695 | 2005-07-06 10:02:08.000 | 2823 2823 | 441 441 | 2005-07-09 15:43:08.000 | 1 1 | 2020-12-23 07:16:11 |
| 4084 | 2005-07-07 05:16:00.000 | 2588 2588 | 441 441 | 2005-07-15 09:23:00.000 | 1 1 | 2020-12-23 07:16:17 |
| 4208 | 2005-07-07 11:34:22.000 | 3617 3617 | 441 441 | 2005-07-09 08:25:22.000 | 1 1 | 2020-12-23 07:16:19 |
| 5129 | 2005-07-09 07:28:33.000 | 4516 4516 | 441 441 | 2005-07-14 05:12:33.000 | 2 2 | 2020-12-23 07:16:32 |
| 5811 | 2005-07-10 15:27:04.000 | 4007 4007 | 441 441 | 2005-07-12 17:20:04.000 | 1 1 | 2020-12-23 07:16:42 |
| 6636 | 2005-07-12 09:49:46.000 | 3270 3270 | 441 441 | 2005-07-14 12:15:46.000 | 1 1 | 2020-12-23 07:16:54 |
| 6642 | 2005-07-12 10:37:52.000 | 201 201 | 441 441 | 2005-07-13 15:13:52.000 | 1 1 | 2020-12-23 07:16:54 |
| 6941 | 2005-07-26 23:18:49.000 | 1575 1575 | 441 441 | 2005-07-31 00:23:49.000 | 2 2 | 2020-12-23 07:16:59 |
| 8237 | 2005-07-29 00:29:56.000 | 608 608 | 441 441 | 2005-08-06 03:10:56.000 | 1 1 | 2020-12-23 07:17:18 |
| 8281 | 2005-07-29 01:46:00.000 | 899 899 | 441 441 | 2005-08-04 23:09:00.000 | 1 1 | 2020-12-23 07:17:19 |
| 8427 | 2005-07-29 07:08:36.000 | 1624 1624 | 441 441 | 2005-07-30 11:54:36.000 | 2 2 | 2020-12-23 07:17:21 |
| 8575 | 2005-07-29 11:52:47.000 | 1668 1668 | 441 441 | 2005-08-03 08:14:47.000 | 2 2 | 2020-12-23 07:17:23 |
| 8617 | 2005-07-29 13:46:14.000 | 385 385 | 441 441 | 2005-08-06 13:26:14.000 | 2 2 | 2020-12-23 07:17:24 |
| 9644 | 2005-07-31 05:40:35.000 | 4577 4577 | 441 441 | 2005-08-09 08:18:35.000 | 1 1 | 2020-12-23 07:17:38 |
| 9854 | 2005-07-31 12:59:34.000 | 1049 1049 | 441 441 | 2005-08-03 07:20:34.000 | 2 2 | 2020-12-23 07:17:42 |
| 10139 | 2005-07-31 22:02:20.000 | 407 407 | 441 441 | 2005-08-04 02:09:20.000 | 1 1 | 2020-12-23 07:17:46 |
| 10846 | 2005-08-01 23:47:54.000 | 2277 2277 | 441 441 | 2005-08-08 01:10:54.000 | 1 1 | 2020-12-23 07:17:56 |
| 11247 | 2005-08-02 13:34:08.000 | 1661 1661 | 441 441 | 2005-08-06 16:23:08.000 | 2 2 | 2020-12-23 07:18:01 |
| 13483 | 2005-08-20 01:16:38.000 | 2550 2550 | 441 441 | 2005-08-21 20:43:38.000 | 2 2 | 2020-12-23 07:18:32 |
| 13739 | 2005-08-20 10:45:10.000 | 3027 3027 | 441 441 | 2005-08-28 08:46:10.000 | 2 2 | 2020-12-23 07:18:37 |
| 13932 | 2005-08-20 17:17:00.000 | 471 471 | 441 441 | 2005-08-24 14:06:00.000 | 1 1 | 2020-12-23 07:18:40 |
| 14796 | 2005-08-22 00:40:49.000 | 941 941 | 441 441 | 2005-08-30 03:59:49.000 | 1 1 | 2020-12-23 07:18:52 |
| 14878 | 2006-02-14 15:16:03.000 | 1202 1202 | 441 441 | 2 2 | 2020-12-23 07:18:53 | |
| 15070 | 2005-08-22 10:55:45.000 | 2687 2687 | 441 441 | 2005-08-26 09:23:45.000 | 1 1 | 2020-12-23 07:18:56 |
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) ;