rental
34 rows where customer_id = 119
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 |
|---|---|---|---|---|---|---|
| 67 | 2005-05-25 09:41:01.000 | 239 239 | 119 119 | 2005-05-27 13:46:01.000 | 2 2 | 2020-12-23 07:15:21 |
| 235 | 2005-05-26 11:51:09.000 | 3537 3537 | 119 119 | 2005-06-04 09:36:09.000 | 1 1 | 2020-12-23 07:15:23 |
| 540 | 2005-05-28 06:40:25.000 | 3321 3321 | 119 119 | 2005-06-06 00:47:25.000 | 1 1 | 2020-12-23 07:15:27 |
| 1179 | 2005-06-15 00:36:50.000 | 816 816 | 119 119 | 2005-06-22 22:09:50.000 | 1 1 | 2020-12-23 07:15:35 |
| 2009 | 2005-06-17 11:48:31.000 | 1902 1902 | 119 119 | 2005-06-18 09:34:31.000 | 2 2 | 2020-12-23 07:15:47 |
| 3388 | 2005-06-21 14:34:51.000 | 556 556 | 119 119 | 2005-06-28 18:19:51.000 | 1 1 | 2020-12-23 07:16:06 |
| 4840 | 2005-07-08 18:18:16.000 | 1670 1670 | 119 119 | 2005-07-16 14:59:16.000 | 1 1 | 2020-12-23 07:16:28 |
| 5176 | 2005-07-09 09:39:31.000 | 328 328 | 119 119 | 2005-07-17 11:56:31.000 | 2 2 | 2020-12-23 07:16:33 |
| 5268 | 2005-07-09 14:22:43.000 | 1083 1083 | 119 119 | 2005-07-12 08:27:43.000 | 1 1 | 2020-12-23 07:16:34 |
| 6079 | 2005-07-11 05:07:14.000 | 1494 1494 | 119 119 | 2005-07-17 08:45:14.000 | 1 1 | 2020-12-23 07:16:46 |
| 6330 | 2005-07-11 19:15:42.000 | 3917 3917 | 119 119 | 2005-07-17 19:10:42.000 | 1 1 | 2020-12-23 07:16:50 |
| 8140 | 2005-07-28 20:17:50.000 | 4270 4270 | 119 119 | 2005-07-30 18:07:50.000 | 1 1 | 2020-12-23 07:17:16 |
| 8183 | 2005-07-28 22:21:07.000 | 1545 1545 | 119 119 | 2005-08-04 19:20:07.000 | 2 2 | 2020-12-23 07:17:17 |
| 8304 | 2005-07-29 03:08:30.000 | 4431 4431 | 119 119 | 2005-08-02 03:04:30.000 | 2 2 | 2020-12-23 07:17:19 |
| 9028 | 2005-07-30 06:00:35.000 | 2687 2687 | 119 119 | 2005-08-02 01:35:35.000 | 1 1 | 2020-12-23 07:17:30 |
| 10101 | 2005-07-31 20:47:29.000 | 2513 2513 | 119 119 | 2005-08-04 21:28:29.000 | 1 1 | 2020-12-23 07:17:45 |
| 10366 | 2005-08-01 06:09:37.000 | 2654 2654 | 119 119 | 2005-08-05 03:19:37.000 | 1 1 | 2020-12-23 07:17:49 |
| 10552 | 2005-08-01 12:49:44.000 | 4263 4263 | 119 119 | 2005-08-04 16:20:44.000 | 2 2 | 2020-12-23 07:17:51 |
| 10681 | 2005-08-01 17:30:35.000 | 1468 1468 | 119 119 | 2005-08-02 14:48:35.000 | 2 2 | 2020-12-23 07:17:53 |
| 11377 | 2005-08-02 18:16:47.000 | 3334 3334 | 119 119 | 2005-08-08 13:46:47.000 | 1 1 | 2020-12-23 07:18:03 |
| 11520 | 2005-08-17 00:04:28.000 | 3536 3536 | 119 119 | 2005-08-26 02:03:28.000 | 1 1 | 2020-12-23 07:18:05 |
| 12576 | 2005-08-18 15:38:31.000 | 329 329 | 119 119 | 2005-08-22 21:29:31.000 | 2 2 | 2020-12-23 07:18:19 |
| 12603 | 2005-08-18 16:56:20.000 | 2769 2769 | 119 119 | 2005-08-25 11:50:20.000 | 2 2 | 2020-12-23 07:18:19 |
| 12842 | 2005-08-19 01:57:21.000 | 2540 2540 | 119 119 | 2005-08-28 01:10:21.000 | 1 1 | 2020-12-23 07:18:23 |
| 13581 | 2005-08-20 05:26:15.000 | 1753 1753 | 119 119 | 2005-08-21 11:07:15.000 | 2 2 | 2020-12-23 07:18:34 |
| 14349 | 2005-08-21 08:54:53.000 | 96 96 | 119 119 | 2005-08-30 14:27:53.000 | 1 1 | 2020-12-23 07:18:46 |
| 14382 | 2005-08-21 10:01:03.000 | 4119 4119 | 119 119 | 2005-08-22 13:21:03.000 | 2 2 | 2020-12-23 07:18:46 |
| 14643 | 2005-08-21 19:11:58.000 | 798 798 | 119 119 | 2005-08-29 19:52:58.000 | 1 1 | 2020-12-23 07:18:50 |
| 14659 | 2005-08-21 19:42:36.000 | 928 928 | 119 119 | 2005-08-26 14:06:36.000 | 1 1 | 2020-12-23 07:18:50 |
| 15111 | 2005-08-22 12:21:43.000 | 4101 4101 | 119 119 | 2005-08-24 09:31:43.000 | 1 1 | 2020-12-23 07:18:56 |
| 15131 | 2005-08-22 13:06:26.000 | 1930 1930 | 119 119 | 2005-08-30 16:43:26.000 | 1 1 | 2020-12-23 07:18:57 |
| 15171 | 2005-08-22 15:23:59.000 | 1201 1201 | 119 119 | 2005-08-28 12:05:59.000 | 2 2 | 2020-12-23 07:18:57 |
| 15844 | 2005-08-23 15:38:12.000 | 2027 2027 | 119 119 | 2005-08-26 15:18:12.000 | 1 1 | 2020-12-23 07:19:07 |
| 16028 | 2005-08-23 21:52:56.000 | 2515 2515 | 119 119 | 2005-08-30 18:16:56.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) ;