rental
28 rows where customer_id = 276
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 |
|---|---|---|---|---|---|---|
| 736 | 2005-05-29 08:10:07.000 | 3689 3689 | 276 276 | 2005-06-05 10:21:07.000 | 2 2 | 2020-12-23 07:15:29 |
| 860 | 2005-05-30 02:45:16.000 | 578 578 | 276 276 | 2005-06-08 07:28:16.000 | 1 1 | 2020-12-23 07:15:31 |
| 1352 | 2005-06-15 12:58:27.000 | 4352 4352 | 276 276 | 2005-06-18 10:57:27.000 | 1 1 | 2020-12-23 07:15:38 |
| 2763 | 2005-06-19 17:23:34.000 | 3096 3096 | 276 276 | 2005-06-21 21:37:34.000 | 2 2 | 2020-12-23 07:15:58 |
| 3064 | 2005-06-20 13:53:13.000 | 2624 2624 | 276 276 | 2005-06-25 16:33:13.000 | 2 2 | 2020-12-23 07:16:02 |
| 3714 | 2005-07-06 10:51:28.000 | 1985 1985 | 276 276 | 2005-07-09 13:57:28.000 | 2 2 | 2020-12-23 07:16:11 |
| 4715 | 2005-07-08 12:15:37.000 | 4010 4010 | 276 276 | 2005-07-10 10:37:37.000 | 2 2 | 2020-12-23 07:16:26 |
| 5186 | 2005-07-09 10:18:40.000 | 2415 2415 | 276 276 | 2005-07-13 05:05:40.000 | 2 2 | 2020-12-23 07:16:33 |
| 5246 | 2005-07-09 13:25:18.000 | 3548 3548 | 276 276 | 2005-07-13 18:38:18.000 | 1 1 | 2020-12-23 07:16:34 |
| 7282 | 2005-07-27 12:00:19.000 | 4418 4418 | 276 276 | 2005-08-04 14:48:19.000 | 2 2 | 2020-12-23 07:17:04 |
| 7842 | 2005-07-28 09:10:06.000 | 2447 2447 | 276 276 | 2005-08-04 06:52:06.000 | 2 2 | 2020-12-23 07:17:12 |
| 9070 | 2005-07-30 07:40:39.000 | 3690 3690 | 276 276 | 2005-08-01 04:19:39.000 | 2 2 | 2020-12-23 07:17:30 |
| 9080 | 2005-07-30 08:02:39.000 | 94 94 | 276 276 | 2005-08-06 12:02:39.000 | 1 1 | 2020-12-23 07:17:30 |
| 9102 | 2005-07-30 08:48:20.000 | 1154 1154 | 276 276 | 2005-08-04 10:19:20.000 | 1 1 | 2020-12-23 07:17:31 |
| 9229 | 2005-07-30 13:38:17.000 | 3780 3780 | 276 276 | 2005-08-08 18:17:17.000 | 2 2 | 2020-12-23 07:17:33 |
| 10149 | 2005-07-31 22:20:46.000 | 890 890 | 276 276 | 2005-08-07 23:12:46.000 | 2 2 | 2020-12-23 07:17:46 |
| 10691 | 2005-08-01 18:09:53.000 | 4281 4281 | 276 276 | 2005-08-03 16:32:53.000 | 1 1 | 2020-12-23 07:17:54 |
| 10763 | 2005-08-01 20:32:27.000 | 987 987 | 276 276 | 2005-08-05 01:24:27.000 | 2 2 | 2020-12-23 07:17:55 |
| 11085 | 2005-08-02 07:36:44.000 | 3207 3207 | 276 276 | 2005-08-04 03:32:44.000 | 1 1 | 2020-12-23 07:17:59 |
| 11636 | 2005-08-17 04:36:31.000 | 791 791 | 276 276 | 2005-08-24 00:03:31.000 | 2 2 | 2020-12-23 07:18:06 |
| 11961 | 2005-08-17 17:28:01.000 | 2015 2015 | 276 276 | 2005-08-21 20:43:01.000 | 1 1 | 2020-12-23 07:18:11 |
| 12178 | 2005-08-18 01:17:32.000 | 1152 1152 | 276 276 | 2005-08-25 19:32:32.000 | 1 1 | 2020-12-23 07:18:14 |
| 12251 | 2005-08-18 03:59:02.000 | 3044 3044 | 276 276 | 2005-08-19 02:38:02.000 | 1 1 | 2020-12-23 07:18:15 |
| 12650 | 2005-08-18 18:33:20.000 | 3237 3237 | 276 276 | 2005-08-21 17:45:20.000 | 2 2 | 2020-12-23 07:18:20 |
| 14000 | 2005-08-20 20:06:05.000 | 3907 3907 | 276 276 | 2005-08-28 17:02:05.000 | 1 1 | 2020-12-23 07:18:41 |
| 15718 | 2005-08-23 11:05:17.000 | 2180 2180 | 276 276 | 2005-08-28 12:50:17.000 | 1 1 | 2020-12-23 07:19:05 |
| 15769 | 2005-08-23 13:16:15.000 | 2392 2392 | 276 276 | 2005-08-28 18:31:15.000 | 1 1 | 2020-12-23 07:19:06 |
| 15923 | 2005-08-23 18:08:19.000 | 1693 1693 | 276 276 | 2005-08-26 18:06:19.000 | 2 2 | 2020-12-23 07:19:08 |
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) ;