rental
27 rows where customer_id = 426
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 |
|---|---|---|---|---|---|---|
| 604 | 2005-05-28 14:37:07.000 | 1585 1585 | 426 426 | 2005-06-03 11:03:07.000 | 2 2 | 2020-12-23 07:15:27 |
| 1709 | 2005-06-16 14:10:15.000 | 3501 3501 | 426 426 | 2005-06-24 16:38:15.000 | 2 2 | 2020-12-23 07:15:42 |
| 1842 | 2005-06-16 23:45:59.000 | 1472 1472 | 426 426 | 2005-06-26 05:31:59.000 | 1 1 | 2020-12-23 07:15:44 |
| 2204 | 2005-06-18 02:11:38.000 | 1137 1137 | 426 426 | 2005-06-24 00:28:38.000 | 1 1 | 2020-12-23 07:15:50 |
| 2804 | 2005-06-19 19:24:54.000 | 88 88 | 426 426 | 2005-06-25 01:19:54.000 | 2 2 | 2020-12-23 07:15:58 |
| 3243 | 2005-06-21 03:00:11.000 | 2556 2556 | 426 426 | 2005-06-25 21:53:11.000 | 1 1 | 2020-12-23 07:16:04 |
| 4114 | 2005-07-07 06:51:12.000 | 4109 4109 | 426 426 | 2005-07-15 01:36:12.000 | 1 1 | 2020-12-23 07:16:17 |
| 4398 | 2005-07-07 21:18:44.000 | 3628 3628 | 426 426 | 2005-07-10 22:45:44.000 | 1 1 | 2020-12-23 07:16:22 |
| 4900 | 2005-07-08 20:38:06.000 | 3487 3487 | 426 426 | 2005-07-09 22:45:06.000 | 2 2 | 2020-12-23 07:16:29 |
| 5725 | 2005-07-10 11:21:21.000 | 4293 4293 | 426 426 | 2005-07-14 05:34:21.000 | 2 2 | 2020-12-23 07:16:41 |
| 7495 | 2005-07-27 20:01:20.000 | 3446 3446 | 426 426 | 2005-07-30 16:40:20.000 | 1 1 | 2020-12-23 07:17:07 |
| 7527 | 2005-07-27 21:14:28.000 | 2124 2124 | 426 426 | 2005-08-05 21:08:28.000 | 1 1 | 2020-12-23 07:17:08 |
| 7711 | 2005-07-28 04:26:42.000 | 2695 2695 | 426 426 | 2005-07-29 07:30:42.000 | 2 2 | 2020-12-23 07:17:10 |
| 7789 | 2005-07-28 07:22:07.000 | 2837 2837 | 426 426 | 2005-08-06 10:47:07.000 | 1 1 | 2020-12-23 07:17:11 |
| 9185 | 2005-07-30 12:10:40.000 | 2268 2268 | 426 426 | 2005-08-06 07:01:40.000 | 1 1 | 2020-12-23 07:17:32 |
| 9247 | 2005-07-30 14:13:56.000 | 4106 4106 | 426 426 | 2005-08-02 16:34:56.000 | 2 2 | 2020-12-23 07:17:33 |
| 10172 | 2005-07-31 23:29:51.000 | 2506 2506 | 426 426 | 2005-08-09 01:57:51.000 | 1 1 | 2020-12-23 07:17:46 |
| 10505 | 2005-08-01 11:13:59.000 | 2977 2977 | 426 426 | 2005-08-05 07:20:59.000 | 2 2 | 2020-12-23 07:17:51 |
| 11237 | 2005-08-02 13:24:01.000 | 2668 2668 | 426 426 | 2005-08-05 11:41:01.000 | 2 2 | 2020-12-23 07:18:01 |
| 11876 | 2005-08-17 14:18:21.000 | 3982 3982 | 426 426 | 2005-08-20 19:48:21.000 | 1 1 | 2020-12-23 07:18:10 |
| 11938 | 2005-08-17 16:54:54.000 | 3927 3927 | 426 426 | 2005-08-24 19:18:54.000 | 1 1 | 2020-12-23 07:18:10 |
| 12548 | 2005-08-18 14:35:26.000 | 750 750 | 426 426 | 2005-08-27 18:58:26.000 | 1 1 | 2020-12-23 07:18:19 |
| 12707 | 2005-08-18 20:52:02.000 | 1565 1565 | 426 426 | 2005-08-25 19:03:02.000 | 2 2 | 2020-12-23 07:18:21 |
| 12822 | 2005-08-19 01:15:24.000 | 419 419 | 426 426 | 2005-08-20 06:38:24.000 | 1 1 | 2020-12-23 07:18:22 |
| 13834 | 2005-08-20 14:03:08.000 | 875 875 | 426 426 | 2005-08-22 10:12:08.000 | 1 1 | 2020-12-23 07:18:38 |
| 14151 | 2005-08-21 02:23:25.000 | 2785 2785 | 426 426 | 2005-08-30 07:08:25.000 | 1 1 | 2020-12-23 07:18:43 |
| 14826 | 2005-08-22 01:32:14.000 | 4023 4023 | 426 426 | 2005-08-23 03:52:14.000 | 2 2 | 2020-12-23 07:18:52 |
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) ;