rental
34 rows where customer_id = 26
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 |
|---|---|---|---|---|---|---|
| 796 | 2005-05-29 16:59:44.000 | 2697 2697 | 26 26 | 2005-06-03 16:22:44.000 | 2 2 | 2020-12-23 07:15:30 |
| 1105 | 2005-05-31 14:33:56.000 | 1708 1708 | 26 26 | 2005-06-07 11:30:56.000 | 1 1 | 2020-12-23 07:15:34 |
| 1440 | 2005-06-15 18:53:14.000 | 2921 2921 | 26 26 | 2005-06-24 15:28:14.000 | 1 1 | 2020-12-23 07:15:39 |
| 1706 | 2005-06-16 14:01:02.000 | 2935 2935 | 26 26 | 2005-06-25 19:29:02.000 | 1 1 | 2020-12-23 07:15:42 |
| 2093 | 2005-06-17 18:14:08.000 | 814 814 | 26 26 | 2005-06-26 18:10:08.000 | 1 1 | 2020-12-23 07:15:48 |
| 2416 | 2005-06-18 17:07:34.000 | 2868 2868 | 26 26 | 2005-06-24 19:16:34.000 | 1 1 | 2020-12-23 07:15:53 |
| 2421 | 2005-06-18 17:25:05.000 | 3524 3524 | 26 26 | 2005-06-23 21:09:05.000 | 2 2 | 2020-12-23 07:15:53 |
| 2532 | 2005-06-19 01:27:46.000 | 1870 1870 | 26 26 | 2005-06-20 02:15:46.000 | 1 1 | 2020-12-23 07:15:54 |
| 2745 | 2005-06-19 16:21:19.000 | 1253 1253 | 26 26 | 2005-06-21 22:07:19.000 | 2 2 | 2020-12-23 07:15:57 |
| 4065 | 2005-07-07 04:32:28.000 | 1339 1339 | 26 26 | 2005-07-12 08:30:28.000 | 1 1 | 2020-12-23 07:16:16 |
| 4274 | 2005-07-07 14:42:04.000 | 787 787 | 26 26 | 2005-07-13 20:23:04.000 | 1 1 | 2020-12-23 07:16:20 |
| 4382 | 2005-07-07 20:41:03.000 | 657 657 | 26 26 | 2005-07-14 15:15:03.000 | 1 1 | 2020-12-23 07:16:21 |
| 4402 | 2005-07-07 21:28:46.000 | 1198 1198 | 26 26 | 2005-07-08 17:04:46.000 | 1 1 | 2020-12-23 07:16:22 |
| 4431 | 2005-07-07 22:39:02.000 | 936 936 | 26 26 | 2005-07-16 19:24:02.000 | 1 1 | 2020-12-23 07:16:22 |
| 4536 | 2005-07-08 03:43:22.000 | 220 220 | 26 26 | 2005-07-15 08:44:22.000 | 1 1 | 2020-12-23 07:16:24 |
| 4641 | 2005-07-08 09:09:46.000 | 2436 2436 | 26 26 | 2005-07-17 03:54:46.000 | 2 2 | 2020-12-23 07:16:25 |
| 5437 | 2005-07-09 21:32:29.000 | 3532 3532 | 26 26 | 2005-07-15 00:27:29.000 | 2 2 | 2020-12-23 07:16:37 |
| 6149 | 2005-07-11 09:19:31.000 | 4337 4337 | 26 26 | 2005-07-17 14:45:31.000 | 2 2 | 2020-12-23 07:16:47 |
| 6243 | 2005-07-11 14:53:25.000 | 3456 3456 | 26 26 | 2005-07-15 09:26:25.000 | 2 2 | 2020-12-23 07:16:48 |
| 7328 | 2005-07-27 13:55:18.000 | 663 663 | 26 26 | 2005-08-01 19:52:18.000 | 1 1 | 2020-12-23 07:17:05 |
| 8241 | 2005-07-29 00:33:36.000 | 4297 4297 | 26 26 | 2005-08-03 01:31:36.000 | 1 1 | 2020-12-23 07:17:18 |
| 9484 | 2005-07-30 23:31:40.000 | 3389 3389 | 26 26 | 2005-08-02 18:25:40.000 | 1 1 | 2020-12-23 07:17:36 |
| 10386 | 2005-08-01 06:42:20.000 | 1568 1568 | 26 26 | 2005-08-07 06:12:20.000 | 2 2 | 2020-12-23 07:17:49 |
| 10996 | 2005-08-02 04:48:11.000 | 2235 2235 | 26 26 | 2005-08-06 08:00:11.000 | 1 1 | 2020-12-23 07:17:58 |
| 11314 | 2005-08-02 16:04:08.000 | 2790 2790 | 26 26 | 2005-08-04 18:47:08.000 | 1 1 | 2020-12-23 07:18:02 |
| 11338 | 2005-08-02 17:00:12.000 | 3689 3689 | 26 26 | 2005-08-03 18:54:12.000 | 1 1 | 2020-12-23 07:18:02 |
| 11744 | 2005-08-17 08:54:30.000 | 297 297 | 26 26 | 2005-08-25 03:28:30.000 | 1 1 | 2020-12-23 07:18:08 |
| 13111 | 2005-08-19 11:25:10.000 | 580 580 | 26 26 | 2005-08-21 05:52:10.000 | 2 2 | 2020-12-23 07:18:27 |
| 14183 | 2005-08-21 03:24:29.000 | 1888 1888 | 26 26 | 2005-08-22 07:25:29.000 | 2 2 | 2020-12-23 07:18:43 |
| 14192 | 2005-08-21 03:37:42.000 | 3563 3563 | 26 26 | 2005-08-28 05:31:42.000 | 2 2 | 2020-12-23 07:18:44 |
| 14603 | 2005-08-21 17:51:06.000 | 94 94 | 26 26 | 2005-08-28 15:36:06.000 | 1 1 | 2020-12-23 07:18:49 |
| 14677 | 2005-08-21 20:12:30.000 | 4411 4411 | 26 26 | 2005-08-28 15:11:30.000 | 1 1 | 2020-12-23 07:18:50 |
| 15384 | 2005-08-22 22:34:44.000 | 3208 3208 | 26 26 | 2005-08-23 23:25:44.000 | 2 2 | 2020-12-23 07:19:01 |
| 15722 | 2005-08-23 11:16:29.000 | 2809 2809 | 26 26 | 2005-09-01 13:24:29.000 | 2 2 | 2020-12-23 07:19:05 |
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) ;