rental
24 rows where customer_id = 475
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 |
|---|---|---|---|---|---|---|
| 417 | 2005-05-27 15:07:27.000 | 2253 2253 | 475 475 | 2005-05-29 20:01:27.000 | 2 2 | 2020-12-23 07:15:25 |
| 702 | 2005-05-29 02:27:30.000 | 2556 2556 | 475 475 | 2005-05-30 01:52:30.000 | 2 2 | 2020-12-23 07:15:29 |
| 3980 | 2005-07-06 23:11:11.000 | 1845 1845 | 475 475 | 2005-07-14 18:22:11.000 | 1 1 | 2020-12-23 07:16:15 |
| 4013 | 2005-07-07 00:58:00.000 | 2344 2344 | 475 475 | 2005-07-15 19:42:00.000 | 2 2 | 2020-12-23 07:16:16 |
| 4617 | 2005-07-08 07:55:08.000 | 3784 3784 | 475 475 | 2005-07-17 02:49:08.000 | 2 2 | 2020-12-23 07:16:25 |
| 5379 | 2005-07-09 19:08:03.000 | 2110 2110 | 475 475 | 2005-07-10 17:58:03.000 | 1 1 | 2020-12-23 07:16:36 |
| 5407 | 2005-07-09 20:16:07.000 | 3641 3641 | 475 475 | 2005-07-14 21:41:07.000 | 2 2 | 2020-12-23 07:16:36 |
| 5415 | 2005-07-09 20:30:03.000 | 4413 4413 | 475 475 | 2005-07-18 00:20:03.000 | 1 1 | 2020-12-23 07:16:37 |
| 5469 | 2005-07-09 23:08:07.000 | 2201 2201 | 475 475 | 2005-07-13 19:13:07.000 | 1 1 | 2020-12-23 07:16:37 |
| 6224 | 2005-07-11 13:42:18.000 | 3274 3274 | 475 475 | 2005-07-16 09:28:18.000 | 1 1 | 2020-12-23 07:16:48 |
| 7641 | 2005-07-28 01:15:45.000 | 1868 1868 | 475 475 | 2005-08-04 23:50:45.000 | 1 1 | 2020-12-23 07:17:09 |
| 7775 | 2005-07-28 07:04:36.000 | 3795 3795 | 475 475 | 2005-08-03 06:36:36.000 | 2 2 | 2020-12-23 07:17:11 |
| 8207 | 2005-07-28 23:26:31.000 | 1195 1195 | 475 475 | 2005-08-06 03:26:31.000 | 1 1 | 2020-12-23 07:17:17 |
| 9183 | 2005-07-30 12:09:56.000 | 4320 4320 | 475 475 | 2005-08-06 11:50:56.000 | 2 2 | 2020-12-23 07:17:32 |
| 9647 | 2005-07-31 05:45:15.000 | 3415 3415 | 475 475 | 2005-08-06 08:54:15.000 | 1 1 | 2020-12-23 07:17:39 |
| 9737 | 2005-07-31 08:59:18.000 | 1720 1720 | 475 475 | 2005-08-03 12:19:18.000 | 2 2 | 2020-12-23 07:17:40 |
| 10162 | 2005-07-31 23:11:01.000 | 1327 1327 | 475 475 | 2005-08-07 01:52:01.000 | 2 2 | 2020-12-23 07:17:46 |
| 10357 | 2005-08-01 05:49:49.000 | 3102 3102 | 475 475 | 2005-08-04 02:34:49.000 | 2 2 | 2020-12-23 07:17:49 |
| 10633 | 2005-08-01 15:37:17.000 | 3125 3125 | 475 475 | 2005-08-10 14:30:17.000 | 2 2 | 2020-12-23 07:17:53 |
| 11293 | 2005-08-02 15:00:43.000 | 1514 1514 | 475 475 | 2005-08-11 17:49:43.000 | 1 1 | 2020-12-23 07:18:02 |
| 11770 | 2005-08-17 10:05:05.000 | 2862 2862 | 475 475 | 2005-08-20 15:59:05.000 | 1 1 | 2020-12-23 07:18:08 |
| 14303 | 2005-08-21 07:22:43.000 | 992 992 | 475 475 | 2005-08-24 11:52:43.000 | 1 1 | 2020-12-23 07:18:45 |
| 15097 | 2005-08-22 11:43:42.000 | 2838 2838 | 475 475 | 2005-08-27 10:25:42.000 | 1 1 | 2020-12-23 07:18:56 |
| 15288 | 2005-08-22 19:23:58.000 | 1999 1999 | 475 475 | 2005-08-26 23:28:58.000 | 1 1 | 2020-12-23 07:18:59 |
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) ;