rental
29 rows where customer_id = 25
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 |
|---|---|---|---|---|---|---|
| 90 | 2005-05-25 14:31:25.000 | 2984 2984 | 25 25 | 2005-06-01 10:07:25.000 | 1 1 | 2020-12-23 07:15:21 |
| 1033 | 2005-05-31 04:50:07.000 | 14 14 | 25 25 | 2005-06-02 01:53:07.000 | 1 1 | 2020-12-23 07:15:33 |
| 1338 | 2005-06-15 12:17:34.000 | 1206 1206 | 25 25 | 2005-06-19 07:40:34.000 | 2 2 | 2020-12-23 07:15:37 |
| 1365 | 2005-06-15 14:09:55.000 | 3813 3813 | 25 25 | 2005-06-19 18:11:55.000 | 2 2 | 2020-12-23 07:15:38 |
| 1754 | 2005-06-16 17:13:23.000 | 4106 4106 | 25 25 | 2005-06-22 20:46:23.000 | 1 1 | 2020-12-23 07:15:43 |
| 2625 | 2005-06-19 08:23:11.000 | 3946 3946 | 25 25 | 2005-06-26 09:52:11.000 | 2 2 | 2020-12-23 07:15:56 |
| 2901 | 2005-06-20 02:41:28.000 | 667 667 | 25 25 | 2005-06-23 04:43:28.000 | 2 2 | 2020-12-23 07:15:59 |
| 3447 | 2005-06-21 20:53:31.000 | 1146 1146 | 25 25 | 2005-06-24 02:20:31.000 | 2 2 | 2020-12-23 07:16:07 |
| 4282 | 2005-07-07 15:26:31.000 | 3134 3134 | 25 25 | 2005-07-11 14:27:31.000 | 1 1 | 2020-12-23 07:16:20 |
| 4319 | 2005-07-07 17:50:27.000 | 3389 3389 | 25 25 | 2005-07-10 13:53:27.000 | 2 2 | 2020-12-23 07:16:20 |
| 4404 | 2005-07-07 21:31:53.000 | 944 944 | 25 25 | 2005-07-13 19:00:53.000 | 1 1 | 2020-12-23 07:16:22 |
| 5881 | 2005-07-10 19:19:43.000 | 236 236 | 25 25 | 2005-07-12 20:11:43.000 | 1 1 | 2020-12-23 07:16:44 |
| 6653 | 2005-07-12 11:06:17.000 | 614 614 | 25 25 | 2005-07-19 16:52:17.000 | 2 2 | 2020-12-23 07:16:54 |
| 6905 | 2005-07-12 22:02:18.000 | 763 763 | 25 25 | 2005-07-18 23:30:18.000 | 1 1 | 2020-12-23 07:16:58 |
| 8667 | 2005-07-29 15:40:57.000 | 3439 3439 | 25 25 | 2005-07-31 20:59:57.000 | 1 1 | 2020-12-23 07:17:24 |
| 8878 | 2005-07-30 00:15:57.000 | 440 440 | 25 25 | 2005-08-01 00:22:57.000 | 2 2 | 2020-12-23 07:17:27 |
| 9140 | 2005-07-30 10:12:01.000 | 4095 4095 | 25 25 | 2005-08-06 09:16:01.000 | 2 2 | 2020-12-23 07:17:31 |
| 9334 | 2005-07-30 17:56:38.000 | 1499 1499 | 25 25 | 2005-08-03 21:27:38.000 | 1 1 | 2020-12-23 07:17:34 |
| 9922 | 2005-07-31 14:59:37.000 | 3615 3615 | 25 25 | 2005-08-06 14:05:37.000 | 1 1 | 2020-12-23 07:17:43 |
| 10103 | 2005-07-31 20:49:13.000 | 77 77 | 25 25 | 2005-08-05 15:55:13.000 | 2 2 | 2020-12-23 07:17:45 |
| 10324 | 2005-08-01 04:49:06.000 | 523 523 | 25 25 | 2005-08-09 08:04:06.000 | 2 2 | 2020-12-23 07:17:48 |
| 10860 | 2005-08-02 00:12:32.000 | 2827 2827 | 25 25 | 2005-08-04 03:50:32.000 | 1 1 | 2020-12-23 07:17:56 |
| 10916 | 2005-08-02 02:05:59.000 | 3841 3841 | 25 25 | 2005-08-06 03:46:59.000 | 2 2 | 2020-12-23 07:17:57 |
| 11642 | 2005-08-17 04:48:05.000 | 3790 3790 | 25 25 | 2005-08-18 01:53:05.000 | 2 2 | 2020-12-23 07:18:07 |
| 12922 | 2005-08-19 04:48:48.000 | 342 342 | 25 25 | 2005-08-23 23:32:48.000 | 1 1 | 2020-12-23 07:18:24 |
| 14193 | 2005-08-21 03:38:27.000 | 513 513 | 25 25 | 2005-08-28 09:16:27.000 | 1 1 | 2020-12-23 07:18:44 |
| 14236 | 2005-08-21 05:13:16.000 | 172 172 | 25 25 | 2005-08-26 04:03:16.000 | 2 2 | 2020-12-23 07:18:44 |
| 15512 | 2005-08-23 02:57:30.000 | 4336 4336 | 25 25 | 2005-08-25 01:47:30.000 | 2 2 | 2020-12-23 07:19:02 |
| 15972 | 2005-08-23 20:00:30.000 | 4428 4428 | 25 25 | 2005-08-30 00:25:30.000 | 1 1 | 2020-12-23 07:19:09 |
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) ;