rental
18 rows where customer_id = 483
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 |
|---|---|---|---|---|---|---|
| 742 | 2005-05-29 08:36:30.000 | 273 273 | 483 483 | 2005-06-05 11:30:30.000 | 1 1 | 2020-12-23 07:15:29 |
| 2855 | 2005-06-19 23:11:49.000 | 3495 3495 | 483 483 | 2005-06-26 21:52:49.000 | 1 1 | 2020-12-23 07:15:59 |
| 2867 | 2005-06-20 00:08:38.000 | 95 95 | 483 483 | 2005-06-23 19:35:38.000 | 1 1 | 2020-12-23 07:15:59 |
| 3380 | 2005-06-21 13:58:46.000 | 3212 3212 | 483 483 | 2005-06-30 09:29:46.000 | 1 1 | 2020-12-23 07:16:06 |
| 3559 | 2005-07-06 02:49:42.000 | 2211 2211 | 483 483 | 2005-07-12 04:44:42.000 | 1 1 | 2020-12-23 07:16:09 |
| 5823 | 2005-07-10 16:19:52.000 | 1879 1879 | 483 483 | 2005-07-11 12:33:52.000 | 2 2 | 2020-12-23 07:16:43 |
| 6478 | 2005-07-12 01:41:44.000 | 2589 2589 | 483 483 | 2005-07-15 20:48:44.000 | 1 1 | 2020-12-23 07:16:52 |
| 6899 | 2005-07-12 21:44:16.000 | 3565 3565 | 483 483 | 2005-07-21 22:21:16.000 | 2 2 | 2020-12-23 07:16:58 |
| 7137 | 2005-07-27 06:40:41.000 | 3957 3957 | 483 483 | 2005-07-29 09:05:41.000 | 2 2 | 2020-12-23 07:17:02 |
| 7381 | 2005-07-27 15:40:26.000 | 1595 1595 | 483 483 | 2005-08-02 17:26:26.000 | 2 2 | 2020-12-23 07:17:05 |
| 7669 | 2005-07-28 02:44:07.000 | 2624 2624 | 483 483 | 2005-07-29 00:54:07.000 | 1 1 | 2020-12-23 07:17:10 |
| 8057 | 2005-07-28 17:07:13.000 | 4177 4177 | 483 483 | 2005-08-03 16:25:13.000 | 1 1 | 2020-12-23 07:17:15 |
| 8356 | 2005-07-29 04:58:56.000 | 2951 2951 | 483 483 | 2005-08-06 03:07:56.000 | 1 1 | 2020-12-23 07:17:20 |
| 10677 | 2005-08-01 17:24:35.000 | 4350 4350 | 483 483 | 2005-08-04 20:03:35.000 | 1 1 | 2020-12-23 07:17:53 |
| 10953 | 2005-08-02 03:28:38.000 | 1510 1510 | 483 483 | 2005-08-11 03:53:38.000 | 1 1 | 2020-12-23 07:17:57 |
| 12331 | 2005-08-18 06:47:19.000 | 4565 4565 | 483 483 | 2005-08-25 05:51:19.000 | 2 2 | 2020-12-23 07:18:16 |
| 12695 | 2005-08-18 20:11:35.000 | 446 446 | 483 483 | 2005-08-25 18:29:35.000 | 1 1 | 2020-12-23 07:18:21 |
| 12875 | 2005-08-19 03:10:21.000 | 1708 1708 | 483 483 | 2005-08-26 01:00:21.000 | 2 2 | 2020-12-23 07:18:23 |
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) ;