rental
31 rows where customer_id = 186
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 |
|---|---|---|---|---|---|---|
| 581 | 2005-05-28 11:20:29.000 | 1380 1380 | 186 186 | 2005-06-04 12:37:29.000 | 2 2 | 2020-12-23 07:15:27 |
| 958 | 2005-05-30 17:58:03.000 | 548 548 | 186 186 | 2005-06-01 19:17:03.000 | 2 2 | 2020-12-23 07:15:32 |
| 1192 | 2005-06-15 01:18:39.000 | 4134 4134 | 186 186 | 2005-06-19 22:46:39.000 | 1 1 | 2020-12-23 07:15:36 |
| 1300 | 2005-06-15 09:36:19.000 | 2524 2524 | 186 186 | 2005-06-17 13:54:19.000 | 2 2 | 2020-12-23 07:15:37 |
| 1663 | 2005-06-16 10:14:15.000 | 1558 1558 | 186 186 | 2005-06-23 08:34:15.000 | 2 2 | 2020-12-23 07:15:42 |
| 2132 | 2005-06-17 21:05:06.000 | 2636 2636 | 186 186 | 2005-06-20 18:10:06.000 | 1 1 | 2020-12-23 07:15:49 |
| 2875 | 2005-06-20 00:47:18.000 | 3012 3012 | 186 186 | 2005-06-25 18:54:18.000 | 2 2 | 2020-12-23 07:15:59 |
| 3039 | 2005-06-20 12:32:30.000 | 4098 4098 | 186 186 | 2005-06-21 07:38:30.000 | 1 1 | 2020-12-23 07:16:01 |
| 6067 | 2005-07-11 04:34:49.000 | 2097 2097 | 186 186 | 2005-07-16 09:33:49.000 | 1 1 | 2020-12-23 07:16:46 |
| 7739 | 2005-07-28 05:21:51.000 | 1554 1554 | 186 186 | 2005-07-30 02:06:51.000 | 2 2 | 2020-12-23 07:17:11 |
| 7915 | 2005-07-28 11:49:46.000 | 2088 2088 | 186 186 | 2005-08-04 12:21:46.000 | 2 2 | 2020-12-23 07:17:13 |
| 8483 | 2005-07-29 08:50:18.000 | 2786 2786 | 186 186 | 2005-08-03 06:46:18.000 | 1 1 | 2020-12-23 07:17:22 |
| 8872 | 2005-07-30 00:13:54.000 | 2669 2669 | 186 186 | 2005-08-01 18:34:54.000 | 1 1 | 2020-12-23 07:17:27 |
| 9303 | 2005-07-30 16:35:59.000 | 4299 4299 | 186 186 | 2005-08-03 18:31:59.000 | 1 1 | 2020-12-23 07:17:34 |
| 9360 | 2005-07-30 18:39:43.000 | 2119 2119 | 186 186 | 2005-08-04 22:41:43.000 | 2 2 | 2020-12-23 07:17:34 |
| 10104 | 2005-07-31 20:49:14.000 | 3358 3358 | 186 186 | 2005-08-05 01:11:14.000 | 2 2 | 2020-12-23 07:17:45 |
| 10985 | 2005-08-02 04:30:19.000 | 2734 2734 | 186 186 | 2005-08-03 05:18:19.000 | 1 1 | 2020-12-23 07:17:57 |
| 11982 | 2005-08-17 18:13:07.000 | 118 118 | 186 186 | 2005-08-18 19:06:07.000 | 1 1 | 2020-12-23 07:18:11 |
| 12348 | 2005-08-18 07:21:47.000 | 434 434 | 186 186 | 2005-08-25 04:41:47.000 | 2 2 | 2020-12-23 07:18:16 |
| 12438 | 2005-08-18 10:42:52.000 | 2043 2043 | 186 186 | 2005-08-25 11:42:52.000 | 1 1 | 2020-12-23 07:18:17 |
| 13168 | 2005-08-19 13:37:28.000 | 2210 2210 | 186 186 | 2005-08-27 17:54:28.000 | 2 2 | 2020-12-23 07:18:28 |
| 13517 | 2005-08-20 02:33:17.000 | 533 533 | 186 186 | 2005-08-23 22:40:17.000 | 2 2 | 2020-12-23 07:18:33 |
| 13853 | 2005-08-20 14:47:02.000 | 1680 1680 | 186 186 | 2005-08-26 20:32:02.000 | 1 1 | 2020-12-23 07:18:38 |
| 14006 | 2005-08-20 20:21:36.000 | 2189 2189 | 186 186 | 2005-08-21 15:26:36.000 | 1 1 | 2020-12-23 07:18:41 |
| 14216 | 2006-02-14 15:16:03.000 | 3763 3763 | 186 186 | 1 1 | 2020-12-23 07:18:44 | |
| 14229 | 2005-08-21 04:57:15.000 | 4479 4479 | 186 186 | 2005-08-26 10:00:15.000 | 1 1 | 2020-12-23 07:18:44 |
| 14646 | 2005-08-21 19:14:48.000 | 948 948 | 186 186 | 2005-08-23 17:15:48.000 | 1 1 | 2020-12-23 07:18:50 |
| 14988 | 2005-08-22 07:46:05.000 | 2114 2114 | 186 186 | 2005-08-29 06:43:05.000 | 1 1 | 2020-12-23 07:18:55 |
| 15001 | 2005-08-22 08:00:49.000 | 2869 2869 | 186 186 | 2005-08-27 05:53:49.000 | 2 2 | 2020-12-23 07:18:55 |
| 15295 | 2005-08-22 19:36:21.000 | 2164 2164 | 186 186 | 2005-08-31 00:07:21.000 | 2 2 | 2020-12-23 07:18:59 |
| 15596 | 2005-08-23 06:19:51.000 | 3834 3834 | 186 186 | 2005-08-25 03:32:51.000 | 1 1 | 2020-12-23 07:19:03 |
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) ;