rental
30 rows where customer_id = 131
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 |
|---|---|---|---|---|---|---|
| 55 | 2005-05-25 08:26:13.000 | 1139 1139 | 131 131 | 2005-05-30 10:57:13.000 | 1 1 | 2020-12-23 07:15:20 |
| 83 | 2005-05-25 12:30:15.000 | 466 466 | 131 131 | 2005-05-27 15:40:15.000 | 1 1 | 2020-12-23 07:15:21 |
| 944 | 2005-05-30 15:26:24.000 | 151 151 | 131 131 | 2005-06-07 18:09:24.000 | 2 2 | 2020-12-23 07:15:32 |
| 1646 | 2005-06-16 09:12:53.000 | 4037 4037 | 131 131 | 2005-06-24 08:03:53.000 | 2 2 | 2020-12-23 07:15:41 |
| 1768 | 2005-06-16 18:02:06.000 | 2131 2131 | 131 131 | 2005-06-23 17:19:06.000 | 2 2 | 2020-12-23 07:15:43 |
| 3515 | 2005-07-06 00:48:55.000 | 3220 3220 | 131 131 | 2005-07-09 00:15:55.000 | 1 1 | 2020-12-23 07:16:08 |
| 5233 | 2005-07-09 12:44:26.000 | 1401 1401 | 131 131 | 2005-07-15 12:31:26.000 | 1 1 | 2020-12-23 07:16:34 |
| 5395 | 2005-07-09 19:42:37.000 | 4428 4428 | 131 131 | 2005-07-10 15:39:37.000 | 1 1 | 2020-12-23 07:16:36 |
| 5610 | 2005-07-10 05:09:52.000 | 481 481 | 131 131 | 2005-07-13 07:08:52.000 | 2 2 | 2020-12-23 07:16:39 |
| 5726 | 2005-07-10 11:22:08.000 | 3582 3582 | 131 131 | 2005-07-13 05:55:08.000 | 1 1 | 2020-12-23 07:16:41 |
| 5874 | 2005-07-10 19:02:51.000 | 2255 2255 | 131 131 | 2005-07-16 13:14:51.000 | 1 1 | 2020-12-23 07:16:43 |
| 7557 | 2005-07-27 22:18:19.000 | 3152 3152 | 131 131 | 2005-07-29 00:24:19.000 | 1 1 | 2020-12-23 07:17:08 |
| 8071 | 2005-07-28 17:27:48.000 | 2582 2582 | 131 131 | 2005-08-03 11:48:48.000 | 2 2 | 2020-12-23 07:17:15 |
| 8267 | 2005-07-29 01:21:02.000 | 4107 4107 | 131 131 | 2005-08-04 19:34:02.000 | 2 2 | 2020-12-23 07:17:18 |
| 8570 | 2005-07-29 11:40:08.000 | 3094 3094 | 131 131 | 2005-08-06 10:23:08.000 | 1 1 | 2020-12-23 07:17:23 |
| 9323 | 2005-07-30 17:21:44.000 | 3749 3749 | 131 131 | 2005-08-03 16:28:44.000 | 1 1 | 2020-12-23 07:17:34 |
| 10179 | 2005-07-31 23:49:54.000 | 2136 2136 | 131 131 | 2005-08-01 20:46:54.000 | 2 2 | 2020-12-23 07:17:46 |
| 10459 | 2005-08-01 09:20:09.000 | 201 201 | 131 131 | 2005-08-03 11:36:09.000 | 1 1 | 2020-12-23 07:17:50 |
| 10861 | 2005-08-02 00:12:46.000 | 2162 2162 | 131 131 | 2005-08-09 04:09:46.000 | 2 2 | 2020-12-23 07:17:56 |
| 11971 | 2005-08-17 17:53:42.000 | 2756 2756 | 131 131 | 2005-08-18 12:11:42.000 | 2 2 | 2020-12-23 07:18:11 |
| 11973 | 2005-08-17 17:55:58.000 | 1472 1472 | 131 131 | 2005-08-21 19:55:58.000 | 2 2 | 2020-12-23 07:18:11 |
| 12216 | 2005-08-18 02:37:07.000 | 4139 4139 | 131 131 | 2005-08-19 02:09:07.000 | 2 2 | 2020-12-23 07:18:14 |
| 12263 | 2005-08-18 04:16:18.000 | 4053 4053 | 131 131 | 2005-08-21 07:22:18.000 | 1 1 | 2020-12-23 07:18:15 |
| 12372 | 2005-08-18 08:04:35.000 | 2982 2982 | 131 131 | 2005-08-27 08:13:35.000 | 2 2 | 2020-12-23 07:18:16 |
| 13050 | 2005-08-19 09:31:23.000 | 3682 3682 | 131 131 | 2005-08-26 06:56:23.000 | 2 2 | 2020-12-23 07:18:26 |
| 13346 | 2005-08-19 20:28:21.000 | 4541 4541 | 131 131 | 2005-08-28 00:28:21.000 | 2 2 | 2020-12-23 07:18:30 |
| 13353 | 2005-08-19 20:53:43.000 | 2790 2790 | 131 131 | 2005-08-25 01:25:43.000 | 1 1 | 2020-12-23 07:18:30 |
| 13407 | 2005-08-19 22:26:26.000 | 2512 2512 | 131 131 | 2005-08-22 16:34:26.000 | 1 1 | 2020-12-23 07:18:31 |
| 15659 | 2005-08-23 08:48:43.000 | 4573 4573 | 131 131 | 2005-08-27 14:19:43.000 | 2 2 | 2020-12-23 07:19:04 |
| 16042 | 2005-08-23 22:20:40.000 | 629 629 | 131 131 | 2005-08-24 17:54:40.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) ;