rental
30 rows where customer_id = 112
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 |
|---|---|---|---|---|---|---|
| 396 | 2005-05-27 11:47:04.000 | 1020 1020 | 112 112 | 2005-05-29 10:14:04.000 | 1 1 | 2020-12-23 07:15:25 |
| 701 | 2005-05-29 02:26:27.000 | 372 372 | 112 112 | 2005-06-03 04:59:27.000 | 1 1 | 2020-12-23 07:15:29 |
| 1835 | 2005-06-16 23:05:36.000 | 1482 1482 | 112 112 | 2005-06-19 04:46:36.000 | 1 1 | 2020-12-23 07:15:44 |
| 1930 | 2005-06-17 06:50:46.000 | 79 79 | 112 112 | 2005-06-19 08:51:46.000 | 2 2 | 2020-12-23 07:15:46 |
| 2193 | 2005-06-18 01:38:45.000 | 1013 1013 | 112 112 | 2005-06-22 19:51:45.000 | 1 1 | 2020-12-23 07:15:50 |
| 3018 | 2005-06-20 11:10:35.000 | 4150 4150 | 112 112 | 2005-06-25 07:17:35.000 | 2 2 | 2020-12-23 07:16:01 |
| 5351 | 2005-07-09 17:40:52.000 | 3722 3722 | 112 112 | 2005-07-14 16:55:52.000 | 2 2 | 2020-12-23 07:16:36 |
| 5385 | 2005-07-09 19:18:11.000 | 4291 4291 | 112 112 | 2005-07-16 18:50:11.000 | 2 2 | 2020-12-23 07:16:36 |
| 6550 | 2005-07-12 05:03:14.000 | 2184 2184 | 112 112 | 2005-07-19 04:06:14.000 | 1 1 | 2020-12-23 07:16:53 |
| 7691 | 2005-07-28 03:30:09.000 | 1579 1579 | 112 112 | 2005-07-29 21:31:09.000 | 1 1 | 2020-12-23 07:17:10 |
| 7761 | 2005-07-28 06:31:45.000 | 3568 3568 | 112 112 | 2005-07-30 01:36:45.000 | 2 2 | 2020-12-23 07:17:11 |
| 9217 | 2005-07-30 13:13:55.000 | 1561 1561 | 112 112 | 2005-08-05 17:27:55.000 | 1 1 | 2020-12-23 07:17:32 |
| 9321 | 2005-07-30 17:19:44.000 | 3558 3558 | 112 112 | 2005-08-06 22:42:44.000 | 2 2 | 2020-12-23 07:17:34 |
| 9609 | 2005-07-31 03:53:24.000 | 693 693 | 112 112 | 2005-08-05 08:32:24.000 | 2 2 | 2020-12-23 07:17:38 |
| 9830 | 2005-07-31 11:59:05.000 | 170 170 | 112 112 | 2005-08-06 10:38:05.000 | 1 1 | 2020-12-23 07:17:41 |
| 9911 | 2005-07-31 14:48:01.000 | 3879 3879 | 112 112 | 2005-08-06 11:55:01.000 | 1 1 | 2020-12-23 07:17:43 |
| 10038 | 2005-07-31 18:49:12.000 | 3727 3727 | 112 112 | 2005-08-01 18:02:12.000 | 1 1 | 2020-12-23 07:17:44 |
| 10596 | 2005-08-01 14:18:57.000 | 803 803 | 112 112 | 2005-08-07 14:59:57.000 | 2 2 | 2020-12-23 07:17:52 |
| 11019 | 2005-08-02 05:29:31.000 | 3227 3227 | 112 112 | 2005-08-04 00:42:31.000 | 1 1 | 2020-12-23 07:17:58 |
| 11599 | 2005-08-17 03:08:10.000 | 3749 3749 | 112 112 | 2005-08-25 05:01:10.000 | 2 2 | 2020-12-23 07:18:06 |
| 11659 | 2005-08-17 05:20:45.000 | 2881 2881 | 112 112 | 2005-08-22 10:18:45.000 | 1 1 | 2020-12-23 07:18:07 |
| 11863 | 2005-08-17 13:56:01.000 | 1003 1003 | 112 112 | 2005-08-23 18:38:01.000 | 1 1 | 2020-12-23 07:18:09 |
| 13611 | 2005-08-20 06:20:42.000 | 1460 1460 | 112 112 | 2005-08-28 10:07:42.000 | 1 1 | 2020-12-23 07:18:34 |
| 13879 | 2005-08-20 15:18:10.000 | 4022 4022 | 112 112 | 2005-08-22 19:23:10.000 | 2 2 | 2020-12-23 07:18:39 |
| 14049 | 2005-08-20 22:08:55.000 | 1335 1335 | 112 112 | 2005-08-28 20:24:55.000 | 1 1 | 2020-12-23 07:18:41 |
| 14358 | 2005-08-21 09:14:28.000 | 861 861 | 112 112 | 2005-08-24 05:05:28.000 | 1 1 | 2020-12-23 07:18:46 |
| 15304 | 2005-08-22 19:45:57.000 | 4332 4332 | 112 112 | 2005-08-28 00:21:57.000 | 2 2 | 2020-12-23 07:18:59 |
| 15671 | 2005-08-23 09:08:16.000 | 3716 3716 | 112 112 | 2005-08-29 14:01:16.000 | 1 1 | 2020-12-23 07:19:04 |
| 15687 | 2005-08-23 09:46:33.000 | 276 276 | 112 112 | 2005-09-01 06:07:33.000 | 1 1 | 2020-12-23 07:19:04 |
| 15756 | 2005-08-23 12:47:05.000 | 878 878 | 112 112 | 2005-08-28 08:34:05.000 | 2 2 | 2020-12-23 07:19:06 |
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) ;