rental
18 rows where customer_id = 70
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 |
|---|---|---|---|---|---|---|
| 1044 | 2005-05-31 06:24:44.000 | 2574 2574 | 70 70 | 2005-06-03 04:51:44.000 | 1 1 | 2020-12-23 07:15:34 |
| 2472 | 2005-06-18 20:32:40.000 | 4556 4556 | 70 70 | 2005-06-20 00:40:40.000 | 2 2 | 2020-12-23 07:15:54 |
| 4061 | 2005-07-07 04:13:35.000 | 62 62 | 70 70 | 2005-07-10 23:58:35.000 | 2 2 | 2020-12-23 07:16:16 |
| 5927 | 2005-07-10 21:57:14.000 | 807 807 | 70 70 | 2005-07-16 19:32:14.000 | 1 1 | 2020-12-23 07:16:44 |
| 7036 | 2005-07-27 03:06:12.000 | 2569 2569 | 70 70 | 2005-07-28 23:26:12.000 | 2 2 | 2020-12-23 07:17:00 |
| 7421 | 2005-07-27 17:10:05.000 | 3548 3548 | 70 70 | 2005-08-05 17:55:05.000 | 1 1 | 2020-12-23 07:17:06 |
| 7714 | 2005-07-28 04:32:30.000 | 940 940 | 70 70 | 2005-08-02 07:10:30.000 | 2 2 | 2020-12-23 07:17:10 |
| 8550 | 2005-07-29 11:12:37.000 | 1340 1340 | 70 70 | 2005-07-30 15:05:37.000 | 2 2 | 2020-12-23 07:17:23 |
| 8747 | 2005-07-29 19:07:57.000 | 2584 2584 | 70 70 | 2005-07-30 16:01:57.000 | 1 1 | 2020-12-23 07:17:26 |
| 11274 | 2005-08-02 14:24:08.000 | 1253 1253 | 70 70 | 2005-08-11 14:56:08.000 | 1 1 | 2020-12-23 07:18:01 |
| 11901 | 2005-08-17 15:35:47.000 | 4274 4274 | 70 70 | 2005-08-20 10:33:47.000 | 2 2 | 2020-12-23 07:18:10 |
| 12003 | 2005-08-17 18:56:05.000 | 3868 3868 | 70 70 | 2005-08-18 23:52:05.000 | 1 1 | 2020-12-23 07:18:11 |
| 12218 | 2005-08-18 02:48:14.000 | 1933 1933 | 70 70 | 2005-08-21 01:52:14.000 | 2 2 | 2020-12-23 07:18:14 |
| 12581 | 2005-08-18 15:49:15.000 | 4309 4309 | 70 70 | 2005-08-23 20:18:15.000 | 1 1 | 2020-12-23 07:18:19 |
| 12951 | 2005-08-19 05:56:44.000 | 2143 2143 | 70 70 | 2005-08-24 11:28:44.000 | 2 2 | 2020-12-23 07:18:24 |
| 13680 | 2005-08-20 08:44:06.000 | 2822 2822 | 70 70 | 2005-08-27 09:58:06.000 | 2 2 | 2020-12-23 07:18:36 |
| 15238 | 2005-08-22 17:46:12.000 | 403 403 | 70 70 | 2005-08-29 16:41:12.000 | 1 1 | 2020-12-23 07:18:58 |
| 15616 | 2005-08-23 07:06:38.000 | 2947 2947 | 70 70 | 2005-08-30 04:16:38.000 | 1 1 | 2020-12-23 07:19:04 |
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) ;