rental
31 rows where customer_id = 210
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 |
|---|---|---|---|---|---|---|
| 953 | 2005-05-30 16:34:02.000 | 2194 2194 | 210 210 | 2005-05-31 20:34:02.000 | 1 1 | 2020-12-23 07:15:32 |
| 1177 | 2005-06-15 00:33:04.000 | 1897 1897 | 210 210 | 2005-06-16 03:47:04.000 | 2 2 | 2020-12-23 07:15:35 |
| 2856 | 2005-06-19 23:13:04.000 | 1859 1859 | 210 210 | 2005-06-23 22:47:04.000 | 1 1 | 2020-12-23 07:15:59 |
| 3563 | 2005-07-06 02:57:01.000 | 4261 4261 | 210 210 | 2005-07-14 02:25:01.000 | 2 2 | 2020-12-23 07:16:09 |
| 3884 | 2005-07-06 18:41:33.000 | 1806 1806 | 210 210 | 2005-07-07 22:06:33.000 | 1 1 | 2020-12-23 07:16:14 |
| 4270 | 2005-07-07 14:38:41.000 | 183 183 | 210 210 | 2005-07-10 19:07:41.000 | 2 2 | 2020-12-23 07:16:20 |
| 4306 | 2005-07-07 17:12:32.000 | 1219 1219 | 210 210 | 2005-07-16 11:24:32.000 | 2 2 | 2020-12-23 07:16:20 |
| 4334 | 2005-07-07 18:32:04.000 | 3021 3021 | 210 210 | 2005-07-08 16:19:04.000 | 1 1 | 2020-12-23 07:16:21 |
| 4388 | 2005-07-07 20:58:03.000 | 3150 3150 | 210 210 | 2005-07-16 20:05:03.000 | 2 2 | 2020-12-23 07:16:21 |
| 4620 | 2005-07-08 08:01:44.000 | 3467 3467 | 210 210 | 2005-07-16 07:43:44.000 | 2 2 | 2020-12-23 07:16:25 |
| 4871 | 2005-07-08 19:19:52.000 | 2509 2509 | 210 210 | 2005-07-13 20:27:52.000 | 2 2 | 2020-12-23 07:16:29 |
| 4893 | 2005-07-08 20:19:55.000 | 2060 2060 | 210 210 | 2005-07-15 21:28:55.000 | 2 2 | 2020-12-23 07:16:29 |
| 4989 | 2005-07-09 00:46:56.000 | 3326 3326 | 210 210 | 2005-07-17 06:24:56.000 | 1 1 | 2020-12-23 07:16:31 |
| 5957 | 2005-07-10 23:24:02.000 | 2517 2517 | 210 210 | 2005-07-12 20:28:02.000 | 1 1 | 2020-12-23 07:16:45 |
| 6227 | 2005-07-11 13:56:46.000 | 1654 1654 | 210 210 | 2005-07-18 12:53:46.000 | 1 1 | 2020-12-23 07:16:48 |
| 6564 | 2005-07-12 05:34:44.000 | 2320 2320 | 210 210 | 2005-07-18 06:12:44.000 | 2 2 | 2020-12-23 07:16:53 |
| 7743 | 2005-07-28 05:36:13.000 | 2883 2883 | 210 210 | 2005-08-03 11:28:13.000 | 2 2 | 2020-12-23 07:17:11 |
| 7909 | 2005-07-28 11:38:08.000 | 3355 3355 | 210 210 | 2005-07-29 13:54:08.000 | 1 1 | 2020-12-23 07:17:13 |
| 8336 | 2005-07-29 04:20:42.000 | 2120 2120 | 210 210 | 2005-08-05 10:17:42.000 | 1 1 | 2020-12-23 07:17:19 |
| 8678 | 2005-07-29 16:04:00.000 | 3991 3991 | 210 210 | 2005-08-05 12:37:00.000 | 1 1 | 2020-12-23 07:17:25 |
| 8738 | 2005-07-29 18:32:47.000 | 3893 3893 | 210 210 | 2005-08-02 13:05:47.000 | 2 2 | 2020-12-23 07:17:25 |
| 10890 | 2005-08-02 00:58:46.000 | 78 78 | 210 210 | 2005-08-10 02:13:46.000 | 1 1 | 2020-12-23 07:17:56 |
| 12410 | 2005-08-18 09:45:33.000 | 1904 1904 | 210 210 | 2005-08-27 08:50:33.000 | 1 1 | 2020-12-23 07:18:17 |
| 12879 | 2005-08-19 03:22:55.000 | 3556 3556 | 210 210 | 2005-08-24 22:00:55.000 | 1 1 | 2020-12-23 07:18:23 |
| 12909 | 2005-08-19 04:20:25.000 | 4300 4300 | 210 210 | 2005-08-24 06:40:25.000 | 2 2 | 2020-12-23 07:18:24 |
| 12986 | 2005-08-19 07:09:36.000 | 1145 1145 | 210 210 | 2005-08-22 05:01:36.000 | 1 1 | 2020-12-23 07:18:25 |
| 14181 | 2005-08-21 03:16:30.000 | 197 197 | 210 210 | 2005-08-29 06:25:30.000 | 2 2 | 2020-12-23 07:18:43 |
| 14639 | 2005-08-21 19:01:39.000 | 3510 3510 | 210 210 | 2005-08-26 14:08:39.000 | 1 1 | 2020-12-23 07:18:50 |
| 14876 | 2005-08-22 03:39:29.000 | 3669 3669 | 210 210 | 2005-08-23 06:53:29.000 | 1 1 | 2020-12-23 07:18:53 |
| 15672 | 2005-08-23 09:09:18.000 | 701 701 | 210 210 | 2005-08-27 06:19:18.000 | 1 1 | 2020-12-23 07:19:04 |
| 15942 | 2005-08-23 18:48:40.000 | 1096 1096 | 210 210 | 2005-09-01 18:39:40.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) ;