rental
32 rows where customer_id = 245
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 |
|---|---|---|---|---|---|---|
| 79 | 2005-05-25 12:11:07.000 | 3299 3299 | 245 245 | 2005-06-03 10:54:07.000 | 2 2 | 2020-12-23 07:15:21 |
| 241 | 2005-05-26 12:49:01.000 | 4438 4438 | 245 245 | 2005-05-28 11:43:01.000 | 2 2 | 2020-12-23 07:15:23 |
| 519 | 2005-05-28 03:22:33.000 | 3564 3564 | 245 245 | 2005-06-03 05:06:33.000 | 1 1 | 2020-12-23 07:15:26 |
| 719 | 2005-05-29 05:16:05.000 | 267 267 | 245 245 | 2005-06-01 07:53:05.000 | 2 2 | 2020-12-23 07:15:29 |
| 725 | 2005-05-29 06:03:41.000 | 4088 4088 | 245 245 | 2005-06-03 08:52:41.000 | 2 2 | 2020-12-23 07:15:29 |
| 948 | 2005-05-30 15:44:27.000 | 585 585 | 245 245 | 2005-06-08 17:30:27.000 | 2 2 | 2020-12-23 07:15:32 |
| 1377 | 2005-06-15 15:02:03.000 | 3410 3410 | 245 245 | 2005-06-22 14:54:03.000 | 2 2 | 2020-12-23 07:15:38 |
| 2122 | 2005-06-17 20:48:27.000 | 2932 2932 | 245 245 | 2005-06-23 00:58:27.000 | 2 2 | 2020-12-23 07:15:49 |
| 3157 | 2005-06-20 21:07:54.000 | 1899 1899 | 245 245 | 2005-06-23 16:01:54.000 | 1 1 | 2020-12-23 07:16:03 |
| 3634 | 2005-07-06 06:51:14.000 | 3688 3688 | 245 245 | 2005-07-10 02:30:14.000 | 1 1 | 2020-12-23 07:16:10 |
| 5321 | 2005-07-09 16:26:33.000 | 3347 3347 | 245 245 | 2005-07-15 15:05:33.000 | 2 2 | 2020-12-23 07:16:35 |
| 5764 | 2005-07-10 12:58:16.000 | 1556 1556 | 245 245 | 2005-07-19 07:28:16.000 | 1 1 | 2020-12-23 07:16:42 |
| 6242 | 2005-07-11 14:45:04.000 | 670 670 | 245 245 | 2005-07-12 18:34:04.000 | 2 2 | 2020-12-23 07:16:48 |
| 6795 | 2005-07-12 16:41:00.000 | 1489 1489 | 245 245 | 2005-07-21 20:52:00.000 | 1 1 | 2020-12-23 07:16:57 |
| 6962 | 2005-07-27 00:10:58.000 | 4500 4500 | 245 245 | 2005-07-30 02:11:58.000 | 2 2 | 2020-12-23 07:16:59 |
| 7230 | 2005-07-27 10:01:41.000 | 1152 1152 | 245 245 | 2005-08-02 11:00:41.000 | 1 1 | 2020-12-23 07:17:03 |
| 7233 | 2005-07-27 10:08:36.000 | 213 213 | 245 245 | 2005-07-31 16:00:36.000 | 1 1 | 2020-12-23 07:17:03 |
| 7358 | 2005-07-27 14:49:44.000 | 175 175 | 245 245 | 2005-07-28 20:00:44.000 | 1 1 | 2020-12-23 07:17:05 |
| 7397 | 2005-07-27 16:05:00.000 | 4474 4474 | 245 245 | 2005-08-01 20:29:00.000 | 1 1 | 2020-12-23 07:17:06 |
| 8701 | 2005-07-29 17:02:35.000 | 3158 3158 | 245 245 | 2005-08-07 19:55:35.000 | 2 2 | 2020-12-23 07:17:25 |
| 8811 | 2005-07-29 21:46:21.000 | 2041 2041 | 245 245 | 2005-08-07 16:51:21.000 | 2 2 | 2020-12-23 07:17:26 |
| 9088 | 2005-07-30 08:21:02.000 | 3407 3407 | 245 245 | 2005-08-01 09:55:02.000 | 1 1 | 2020-12-23 07:17:30 |
| 9169 | 2005-07-30 11:35:00.000 | 1567 1567 | 245 245 | 2005-08-06 16:16:00.000 | 2 2 | 2020-12-23 07:17:32 |
| 9813 | 2005-07-31 11:29:23.000 | 1706 1706 | 245 245 | 2005-08-07 08:01:23.000 | 2 2 | 2020-12-23 07:17:41 |
| 10087 | 2005-07-31 20:15:22.000 | 1393 1393 | 245 245 | 2005-08-07 01:33:22.000 | 1 1 | 2020-12-23 07:17:45 |
| 11061 | 2005-08-02 06:50:18.000 | 809 809 | 245 245 | 2005-08-07 07:41:18.000 | 2 2 | 2020-12-23 07:17:58 |
| 11105 | 2005-08-02 08:13:31.000 | 3170 3170 | 245 245 | 2005-08-03 11:08:31.000 | 1 1 | 2020-12-23 07:17:59 |
| 11211 | 2005-08-02 12:16:48.000 | 1722 1722 | 245 245 | 2005-08-03 10:40:48.000 | 1 1 | 2020-12-23 07:18:00 |
| 12303 | 2005-08-18 05:43:22.000 | 1604 1604 | 245 245 | 2005-08-27 08:54:22.000 | 2 2 | 2020-12-23 07:18:15 |
| 12682 | 2006-02-14 15:16:03.000 | 1148 1148 | 245 245 | 2 2 | 2020-12-23 07:18:20 | |
| 13286 | 2005-08-19 18:28:07.000 | 2685 2685 | 245 245 | 2005-08-22 17:23:07.000 | 2 2 | 2020-12-23 07:18:30 |
| 15782 | 2005-08-23 13:43:26.000 | 3282 3282 | 245 245 | 2005-08-30 14:03:26.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;