rental
28 rows where customer_id = 558
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 |
|---|---|---|---|---|---|---|
| 1967 | 2005-06-17 09:19:52.000 | 3225 3225 | 558 558 | 2005-06-21 03:35:52.000 | 1 1 | 2020-12-23 07:15:46 |
| 2411 | 2005-06-18 16:55:54.000 | 3302 3302 | 558 558 | 2005-06-25 12:44:54.000 | 1 1 | 2020-12-23 07:15:53 |
| 2544 | 2005-06-19 02:16:17.000 | 1465 1465 | 558 558 | 2005-06-22 21:45:17.000 | 1 1 | 2020-12-23 07:15:55 |
| 3016 | 2005-06-20 10:55:08.000 | 3514 3514 | 558 558 | 2005-06-24 14:05:08.000 | 1 1 | 2020-12-23 07:16:01 |
| 3451 | 2005-06-21 21:10:39.000 | 3489 3489 | 558 558 | 2005-06-30 19:03:39.000 | 2 2 | 2020-12-23 07:16:07 |
| 3731 | 2005-07-06 11:33:36.000 | 4133 4133 | 558 558 | 2005-07-15 12:23:36.000 | 2 2 | 2020-12-23 07:16:11 |
| 3954 | 2005-07-06 21:57:44.000 | 4250 4250 | 558 558 | 2005-07-08 02:37:44.000 | 2 2 | 2020-12-23 07:16:15 |
| 3990 | 2005-07-06 23:32:44.000 | 2009 2009 | 558 558 | 2005-07-14 01:35:44.000 | 2 2 | 2020-12-23 07:16:15 |
| 4192 | 2005-07-07 10:57:06.000 | 624 624 | 558 558 | 2005-07-13 16:30:06.000 | 1 1 | 2020-12-23 07:16:18 |
| 4932 | 2005-07-08 22:17:40.000 | 4237 4237 | 558 558 | 2005-07-15 22:13:40.000 | 2 2 | 2020-12-23 07:16:30 |
| 5375 | 2005-07-09 18:52:55.000 | 1407 1407 | 558 558 | 2005-07-16 15:32:55.000 | 2 2 | 2020-12-23 07:16:36 |
| 5492 | 2005-07-10 00:11:09.000 | 4524 4524 | 558 558 | 2005-07-14 01:27:09.000 | 1 1 | 2020-12-23 07:16:38 |
| 6278 | 2005-07-11 16:20:02.000 | 2232 2232 | 558 558 | 2005-07-19 19:29:02.000 | 2 2 | 2020-12-23 07:16:49 |
| 6479 | 2005-07-12 01:49:00.000 | 2587 2587 | 558 558 | 2005-07-21 04:26:00.000 | 1 1 | 2020-12-23 07:16:52 |
| 6742 | 2005-07-12 14:25:31.000 | 4242 4242 | 558 558 | 2005-07-17 08:50:31.000 | 2 2 | 2020-12-23 07:16:56 |
| 6757 | 2005-07-12 15:09:48.000 | 547 547 | 558 558 | 2005-07-17 15:04:48.000 | 2 2 | 2020-12-23 07:16:56 |
| 7424 | 2005-07-27 17:14:19.000 | 660 660 | 558 558 | 2005-08-01 19:21:19.000 | 2 2 | 2020-12-23 07:17:06 |
| 8523 | 2005-07-29 10:18:27.000 | 3614 3614 | 558 558 | 2005-08-04 09:31:27.000 | 1 1 | 2020-12-23 07:17:22 |
| 8858 | 2005-07-29 23:44:35.000 | 2378 2378 | 558 558 | 2005-08-01 05:25:35.000 | 2 2 | 2020-12-23 07:17:27 |
| 8889 | 2005-07-30 00:39:43.000 | 3457 3457 | 558 558 | 2005-08-02 23:22:43.000 | 1 1 | 2020-12-23 07:17:27 |
| 10707 | 2005-08-01 18:41:34.000 | 1165 1165 | 558 558 | 2005-08-06 12:41:34.000 | 1 1 | 2020-12-23 07:17:54 |
| 11268 | 2005-08-02 14:10:39.000 | 3275 3275 | 558 558 | 2005-08-04 14:35:39.000 | 1 1 | 2020-12-23 07:18:01 |
| 11567 | 2005-08-17 01:28:43.000 | 567 567 | 558 558 | 2005-08-24 20:20:43.000 | 2 2 | 2020-12-23 07:18:06 |
| 12040 | 2005-08-17 20:29:56.000 | 1288 1288 | 558 558 | 2005-08-26 22:17:56.000 | 1 1 | 2020-12-23 07:18:12 |
| 12194 | 2005-08-18 02:04:47.000 | 292 292 | 558 558 | 2005-08-25 20:45:47.000 | 2 2 | 2020-12-23 07:18:14 |
| 13566 | 2005-08-20 04:45:32.000 | 4397 4397 | 558 558 | 2005-08-28 02:12:32.000 | 2 2 | 2020-12-23 07:18:34 |
| 14235 | 2005-08-21 05:08:42.000 | 125 125 | 558 558 | 2005-08-29 23:36:42.000 | 1 1 | 2020-12-23 07:18:44 |
| 14286 | 2005-08-21 06:53:53.000 | 2377 2377 | 558 558 | 2005-08-27 11:37:53.000 | 2 2 | 2020-12-23 07:18:45 |
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) ;