rental
32 rows where customer_id = 569
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 |
|---|---|---|---|---|---|---|
| 53 | 2005-05-25 07:19:16.000 | 1255 1255 | 569 569 | 2005-05-27 05:19:16.000 | 2 2 | 2020-12-23 07:15:20 |
| 487 | 2005-05-28 00:00:30.000 | 3774 3774 | 569 569 | 2005-05-28 19:18:30.000 | 2 2 | 2020-12-23 07:15:26 |
| 624 | 2005-05-28 16:13:22.000 | 3660 3660 | 569 569 | 2005-06-06 20:35:22.000 | 1 1 | 2020-12-23 07:15:28 |
| 647 | 2005-05-28 19:22:52.000 | 3435 3435 | 569 569 | 2005-06-01 00:10:52.000 | 1 1 | 2020-12-23 07:15:28 |
| 1037 | 2005-05-31 05:22:25.000 | 810 810 | 569 569 | 2005-06-09 04:52:25.000 | 1 1 | 2020-12-23 07:15:33 |
| 1463 | 2005-06-15 20:37:51.000 | 2984 2984 | 569 569 | 2005-06-21 16:46:51.000 | 2 2 | 2020-12-23 07:15:39 |
| 1668 | 2005-06-16 10:19:52.000 | 2483 2483 | 569 569 | 2005-06-23 12:22:52.000 | 2 2 | 2020-12-23 07:15:42 |
| 4204 | 2005-07-07 11:24:18.000 | 1513 1513 | 569 569 | 2005-07-15 12:42:18.000 | 1 1 | 2020-12-23 07:16:19 |
| 5003 | 2005-07-09 01:19:03.000 | 3438 3438 | 569 569 | 2005-07-10 04:28:03.000 | 2 2 | 2020-12-23 07:16:31 |
| 6046 | 2005-07-11 03:21:49.000 | 1935 1935 | 569 569 | 2005-07-19 23:58:49.000 | 1 1 | 2020-12-23 07:16:46 |
| 8910 | 2005-07-30 01:29:48.000 | 1039 1039 | 569 569 | 2005-07-31 21:33:48.000 | 2 2 | 2020-12-23 07:17:28 |
| 9220 | 2005-07-30 13:17:27.000 | 2463 2463 | 569 569 | 2005-08-07 11:34:27.000 | 2 2 | 2020-12-23 07:17:32 |
| 9399 | 2005-07-30 20:14:50.000 | 3668 3668 | 569 569 | 2005-08-03 17:30:50.000 | 1 1 | 2020-12-23 07:17:35 |
| 9960 | 2005-07-31 16:05:52.000 | 1022 1022 | 569 569 | 2005-08-05 14:15:52.000 | 2 2 | 2020-12-23 07:17:43 |
| 10192 | 2005-08-01 00:33:00.000 | 1632 1632 | 569 569 | 2005-08-05 03:37:00.000 | 2 2 | 2020-12-23 07:17:46 |
| 10884 | 2005-08-02 00:47:33.000 | 3702 3702 | 569 569 | 2005-08-03 04:38:33.000 | 1 1 | 2020-12-23 07:17:56 |
| 11030 | 2005-08-02 05:51:20.000 | 1437 1437 | 569 569 | 2005-08-06 04:20:20.000 | 1 1 | 2020-12-23 07:17:58 |
| 11255 | 2005-08-02 13:44:30.000 | 3393 3393 | 569 569 | 2005-08-03 12:00:30.000 | 1 1 | 2020-12-23 07:18:01 |
| 11354 | 2005-08-02 17:35:10.000 | 1887 1887 | 569 569 | 2005-08-09 12:07:10.000 | 2 2 | 2020-12-23 07:18:02 |
| 11946 | 2005-08-17 17:05:53.000 | 2953 2953 | 569 569 | 2005-08-19 13:56:53.000 | 1 1 | 2020-12-23 07:18:11 |
| 12157 | 2005-08-18 00:33:45.000 | 2311 2311 | 569 569 | 2005-08-22 19:33:45.000 | 1 1 | 2020-12-23 07:18:13 |
| 12308 | 2005-08-18 05:48:53.000 | 2877 2877 | 569 569 | 2005-08-22 09:03:53.000 | 1 1 | 2020-12-23 07:18:15 |
| 12568 | 2005-08-18 15:15:44.000 | 2654 2654 | 569 569 | 2005-08-22 19:32:44.000 | 2 2 | 2020-12-23 07:18:19 |
| 12958 | 2005-08-19 06:19:21.000 | 4214 4214 | 569 569 | 2005-08-20 02:21:21.000 | 1 1 | 2020-12-23 07:18:25 |
| 13287 | 2005-08-19 18:28:24.000 | 2716 2716 | 569 569 | 2005-08-26 20:13:24.000 | 2 2 | 2020-12-23 07:18:30 |
| 13554 | 2005-08-20 04:08:39.000 | 2648 2648 | 569 569 | 2005-08-28 07:11:39.000 | 2 2 | 2020-12-23 07:18:34 |
| 14207 | 2005-08-21 04:08:19.000 | 1327 1327 | 569 569 | 2005-08-29 07:59:19.000 | 2 2 | 2020-12-23 07:18:44 |
| 14400 | 2005-08-21 10:33:45.000 | 3891 3891 | 569 569 | 2005-08-26 12:05:45.000 | 1 1 | 2020-12-23 07:18:46 |
| 14896 | 2005-08-22 04:20:55.000 | 2508 2508 | 569 569 | 2005-08-29 05:11:55.000 | 2 2 | 2020-12-23 07:18:53 |
| 14959 | 2005-08-22 06:30:28.000 | 2009 2009 | 569 569 | 2005-08-25 09:48:28.000 | 1 1 | 2020-12-23 07:18:54 |
| 15617 | 2005-08-23 07:07:22.000 | 4085 4085 | 569 569 | 2005-08-27 01:24:22.000 | 2 2 | 2020-12-23 07:19:04 |
| 16025 | 2005-08-23 21:48:54.000 | 1777 1777 | 569 569 | 2005-08-24 22:05:54.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) ;