rental
33 rows where customer_id = 102
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 |
|---|---|---|---|---|---|---|
| 247 | 2005-05-26 14:01:05.000 | 4095 4095 | 102 102 | 2005-05-28 13:38:05.000 | 2 2 | 2020-12-23 07:15:23 |
| 358 | 2005-05-27 06:43:59.000 | 1925 1925 | 102 102 | 2005-05-29 11:28:59.000 | 2 2 | 2020-12-23 07:15:24 |
| 562 | 2005-05-28 09:01:21.000 | 3390 3390 | 102 102 | 2005-06-02 05:26:21.000 | 2 2 | 2020-12-23 07:15:27 |
| 1215 | 2005-06-15 03:21:00.000 | 242 242 | 102 102 | 2005-06-19 03:39:00.000 | 1 1 | 2020-12-23 07:15:36 |
| 2419 | 2005-06-18 17:21:24.000 | 1255 1255 | 102 102 | 2005-06-26 18:25:24.000 | 1 1 | 2020-12-23 07:15:53 |
| 3520 | 2005-07-06 00:58:27.000 | 2872 2872 | 102 102 | 2005-07-14 05:56:27.000 | 1 1 | 2020-12-23 07:16:08 |
| 3630 | 2005-07-06 06:27:15.000 | 2448 2448 | 102 102 | 2005-07-12 10:36:15.000 | 1 1 | 2020-12-23 07:16:10 |
| 3665 | 2005-07-06 08:23:08.000 | 922 922 | 102 102 | 2005-07-13 13:38:08.000 | 2 2 | 2020-12-23 07:16:10 |
| 4089 | 2005-07-07 05:45:59.000 | 3431 3431 | 102 102 | 2005-07-16 07:34:59.000 | 2 2 | 2020-12-23 07:16:17 |
| 4777 | 2005-07-08 15:48:34.000 | 449 449 | 102 102 | 2005-07-16 15:25:34.000 | 1 1 | 2020-12-23 07:16:27 |
| 4997 | 2005-07-09 01:06:03.000 | 186 186 | 102 102 | 2005-07-18 04:21:03.000 | 2 2 | 2020-12-23 07:16:31 |
| 5009 | 2005-07-09 01:32:17.000 | 1539 1539 | 102 102 | 2005-07-18 03:39:17.000 | 2 2 | 2020-12-23 07:16:31 |
| 5109 | 2005-07-09 06:48:49.000 | 2373 2373 | 102 102 | 2005-07-14 01:17:49.000 | 1 1 | 2020-12-23 07:16:32 |
| 5509 | 2005-07-10 00:54:46.000 | 1142 1142 | 102 102 | 2005-07-16 05:10:46.000 | 1 1 | 2020-12-23 07:16:38 |
| 5716 | 2005-07-10 10:59:23.000 | 3416 3416 | 102 102 | 2005-07-16 12:25:23.000 | 2 2 | 2020-12-23 07:16:41 |
| 6434 | 2005-07-12 00:14:25.000 | 1478 1478 | 102 102 | 2005-07-20 19:54:25.000 | 2 2 | 2020-12-23 07:16:51 |
| 7119 | 2005-07-27 05:55:32.000 | 1732 1732 | 102 102 | 2005-07-29 03:19:32.000 | 1 1 | 2020-12-23 07:17:01 |
| 7247 | 2005-07-27 10:32:58.000 | 1445 1445 | 102 102 | 2005-07-29 05:00:58.000 | 2 2 | 2020-12-23 07:17:03 |
| 7439 | 2005-07-27 17:42:31.000 | 4091 4091 | 102 102 | 2005-08-05 16:34:31.000 | 1 1 | 2020-12-23 07:17:06 |
| 8186 | 2005-07-28 22:30:27.000 | 4255 4255 | 102 102 | 2005-07-31 21:08:27.000 | 1 1 | 2020-12-23 07:17:17 |
| 8664 | 2005-07-29 15:36:27.000 | 198 198 | 102 102 | 2005-08-04 20:11:27.000 | 1 1 | 2020-12-23 07:17:24 |
| 9151 | 2005-07-30 10:50:53.000 | 3956 3956 | 102 102 | 2005-08-07 08:19:53.000 | 1 1 | 2020-12-23 07:17:31 |
| 9192 | 2005-07-30 12:26:26.000 | 2372 2372 | 102 102 | 2005-08-04 07:54:26.000 | 2 2 | 2020-12-23 07:17:32 |
| 9295 | 2005-07-30 16:18:39.000 | 494 494 | 102 102 | 2005-08-03 12:46:39.000 | 1 1 | 2020-12-23 07:17:34 |
| 9617 | 2005-07-31 04:15:38.000 | 529 529 | 102 102 | 2005-08-02 04:24:38.000 | 1 1 | 2020-12-23 07:17:38 |
| 9780 | 2005-07-31 10:10:22.000 | 3241 3241 | 102 102 | 2005-08-02 11:43:22.000 | 1 1 | 2020-12-23 07:17:41 |
| 10841 | 2005-08-01 23:39:21.000 | 4337 4337 | 102 102 | 2005-08-07 20:47:21.000 | 1 1 | 2020-12-23 07:17:56 |
| 11099 | 2005-08-02 08:07:12.000 | 1444 1444 | 102 102 | 2005-08-07 12:11:12.000 | 2 2 | 2020-12-23 07:17:59 |
| 11183 | 2005-08-02 11:00:32.000 | 833 833 | 102 102 | 2005-08-04 08:59:32.000 | 2 2 | 2020-12-23 07:18:00 |
| 12495 | 2005-08-18 12:56:37.000 | 1225 1225 | 102 102 | 2005-08-22 06:58:37.000 | 1 1 | 2020-12-23 07:18:18 |
| 13420 | 2005-08-19 22:57:25.000 | 1796 1796 | 102 102 | 2005-08-28 22:46:25.000 | 1 1 | 2020-12-23 07:18:32 |
| 15049 | 2005-08-22 10:06:28.000 | 1573 1573 | 102 102 | 2005-08-26 15:12:28.000 | 1 1 | 2020-12-23 07:18:55 |
| 16031 | 2005-08-23 21:59:26.000 | 1843 1843 | 102 102 | 2005-08-29 20:15:26.000 | 1 1 | 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) ;