rental
31 rows where customer_id = 260
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 |
|---|---|---|---|---|---|---|
| 1101 | 2005-05-31 14:13:59.000 | 1174 1174 | 260 260 | 2005-06-07 15:49:59.000 | 1 1 | 2020-12-23 07:15:34 |
| 1626 | 2005-06-16 07:49:47.000 | 694 694 | 260 260 | 2005-06-22 13:32:47.000 | 2 2 | 2020-12-23 07:15:41 |
| 2001 | 2005-06-17 11:35:09.000 | 2069 2069 | 260 260 | 2005-06-21 14:52:09.000 | 2 2 | 2020-12-23 07:15:47 |
| 2040 | 2005-06-17 14:18:37.000 | 227 227 | 260 260 | 2005-06-22 19:08:37.000 | 1 1 | 2020-12-23 07:15:47 |
| 2091 | 2005-06-17 18:09:04.000 | 4033 4033 | 260 260 | 2005-06-26 12:11:04.000 | 1 1 | 2020-12-23 07:15:48 |
| 2178 | 2005-06-18 00:38:35.000 | 2950 2950 | 260 260 | 2005-06-21 02:56:35.000 | 1 1 | 2020-12-23 07:15:49 |
| 2823 | 2005-06-19 20:30:21.000 | 3566 3566 | 260 260 | 2005-06-26 17:58:21.000 | 1 1 | 2020-12-23 07:15:58 |
| 2958 | 2005-06-20 06:56:20.000 | 1380 1380 | 260 260 | 2005-06-29 02:33:20.000 | 2 2 | 2020-12-23 07:16:00 |
| 3193 | 2005-06-20 23:52:30.000 | 3176 3176 | 260 260 | 2005-06-22 21:21:30.000 | 1 1 | 2020-12-23 07:16:03 |
| 4054 | 2005-07-07 03:42:07.000 | 3885 3885 | 260 260 | 2005-07-10 03:22:07.000 | 1 1 | 2020-12-23 07:16:16 |
| 4741 | 2005-07-08 13:31:23.000 | 516 516 | 260 260 | 2005-07-17 12:02:23.000 | 2 2 | 2020-12-23 07:16:27 |
| 4870 | 2005-07-08 19:14:45.000 | 3089 3089 | 260 260 | 2005-07-12 18:58:45.000 | 2 2 | 2020-12-23 07:16:29 |
| 6328 | 2005-07-11 19:09:33.000 | 999 999 | 260 260 | 2005-07-12 20:16:33.000 | 2 2 | 2020-12-23 07:16:50 |
| 7072 | 2005-07-27 04:02:33.000 | 3899 3899 | 260 260 | 2005-07-28 09:26:33.000 | 2 2 | 2020-12-23 07:17:01 |
| 7268 | 2005-07-27 11:23:09.000 | 2740 2740 | 260 260 | 2005-08-01 12:42:09.000 | 2 2 | 2020-12-23 07:17:04 |
| 7885 | 2005-07-28 10:37:41.000 | 4294 4294 | 260 260 | 2005-08-05 07:56:41.000 | 1 1 | 2020-12-23 07:17:13 |
| 8475 | 2005-07-29 08:37:41.000 | 3695 3695 | 260 260 | 2005-08-04 10:03:41.000 | 2 2 | 2020-12-23 07:17:22 |
| 8484 | 2005-07-29 08:51:59.000 | 742 742 | 260 260 | 2005-07-30 09:07:59.000 | 1 1 | 2020-12-23 07:17:22 |
| 8717 | 2005-07-29 17:40:45.000 | 1821 1821 | 260 260 | 2005-08-01 22:38:45.000 | 2 2 | 2020-12-23 07:17:25 |
| 8933 | 2005-07-30 02:36:06.000 | 1664 1664 | 260 260 | 2005-08-02 23:37:06.000 | 2 2 | 2020-12-23 07:17:28 |
| 9176 | 2005-07-30 11:50:54.000 | 2659 2659 | 260 260 | 2005-08-02 14:25:54.000 | 2 2 | 2020-12-23 07:17:32 |
| 10970 | 2005-08-02 04:06:46.000 | 1202 1202 | 260 260 | 2005-08-10 04:27:46.000 | 1 1 | 2020-12-23 07:17:57 |
| 12852 | 2005-08-19 02:12:40.000 | 2446 2446 | 260 260 | 2005-08-19 23:42:40.000 | 1 1 | 2020-12-23 07:18:23 |
| 13440 | 2005-08-19 23:42:52.000 | 2842 2842 | 260 260 | 2005-08-25 19:19:52.000 | 1 1 | 2020-12-23 07:18:32 |
| 13685 | 2005-08-20 08:57:11.000 | 3336 3336 | 260 260 | 2005-08-27 07:26:11.000 | 1 1 | 2020-12-23 07:18:36 |
| 13966 | 2005-08-20 18:28:28.000 | 4520 4520 | 260 260 | 2005-08-22 16:49:28.000 | 2 2 | 2020-12-23 07:18:40 |
| 13978 | 2005-08-20 19:03:25.000 | 1263 1263 | 260 260 | 2005-08-27 18:02:25.000 | 2 2 | 2020-12-23 07:18:40 |
| 14035 | 2005-08-20 21:31:58.000 | 2035 2035 | 260 260 | 2005-08-22 16:28:58.000 | 1 1 | 2020-12-23 07:18:41 |
| 14441 | 2005-08-21 11:59:38.000 | 1210 1210 | 260 260 | 2005-08-26 11:17:38.000 | 2 2 | 2020-12-23 07:18:47 |
| 14579 | 2005-08-21 16:54:47.000 | 1205 1205 | 260 260 | 2005-08-28 12:35:47.000 | 1 1 | 2020-12-23 07:18:49 |
| 14610 | 2005-08-21 17:59:09.000 | 1894 1894 | 260 260 | 2005-08-29 21:36:09.000 | 2 2 | 2020-12-23 07:18:49 |
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) ;