rental
37 rows where customer_id = 198
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 357 | 2005-05-27 06:37:15.000 | 4417 4417 | 198 198 | 2005-05-30 07:04:15.000 | 2 2 | 2020-12-23 07:15:24 |
| 582 | 2005-05-28 11:33:46.000 | 4579 4579 | 198 198 | 2005-05-29 08:33:46.000 | 1 1 | 2020-12-23 07:15:27 |
| 639 | 2005-05-28 18:25:02.000 | 4204 4204 | 198 198 | 2005-05-29 18:22:02.000 | 1 1 | 2020-12-23 07:15:28 |
| 932 | 2005-05-30 12:55:36.000 | 719 719 | 198 198 | 2005-05-31 10:30:36.000 | 2 2 | 2020-12-23 07:15:32 |
| 1132 | 2005-05-31 18:44:53.000 | 1763 1763 | 198 198 | 2005-06-07 22:02:53.000 | 2 2 | 2020-12-23 07:15:35 |
| 2185 | 2005-06-18 01:12:22.000 | 4326 4326 | 198 198 | 2005-06-20 20:41:22.000 | 1 1 | 2020-12-23 07:15:49 |
| 3770 | 2005-07-06 13:14:28.000 | 3836 3836 | 198 198 | 2005-07-13 09:23:28.000 | 1 1 | 2020-12-23 07:16:12 |
| 4588 | 2005-07-08 06:18:01.000 | 3629 3629 | 198 198 | 2005-07-10 08:59:01.000 | 1 1 | 2020-12-23 07:16:24 |
| 4750 | 2005-07-08 14:07:03.000 | 3383 3383 | 198 198 | 2005-07-13 18:05:03.000 | 1 1 | 2020-12-23 07:16:27 |
| 5794 | 2005-07-10 14:34:53.000 | 1164 1164 | 198 198 | 2005-07-17 11:50:53.000 | 2 2 | 2020-12-23 07:16:42 |
| 6567 | 2005-07-12 05:43:09.000 | 1336 1336 | 198 198 | 2005-07-19 08:18:09.000 | 2 2 | 2020-12-23 07:16:53 |
| 6819 | 2005-07-12 18:21:01.000 | 1253 1253 | 198 198 | 2005-07-13 21:14:01.000 | 1 1 | 2020-12-23 07:16:57 |
| 6889 | 2005-07-12 21:01:22.000 | 2919 2919 | 198 198 | 2005-07-20 20:16:22.000 | 2 2 | 2020-12-23 07:16:58 |
| 7287 | 2005-07-27 12:24:12.000 | 926 926 | 198 198 | 2005-07-31 15:34:12.000 | 1 1 | 2020-12-23 07:17:04 |
| 7441 | 2005-07-27 17:46:53.000 | 4039 4039 | 198 198 | 2005-07-31 23:05:53.000 | 1 1 | 2020-12-23 07:17:06 |
| 7583 | 2005-07-27 23:15:22.000 | 2890 2890 | 198 198 | 2005-08-04 04:39:22.000 | 2 2 | 2020-12-23 07:17:08 |
| 7622 | 2005-07-28 00:37:34.000 | 4014 4014 | 198 198 | 2005-07-31 23:27:34.000 | 2 2 | 2020-12-23 07:17:09 |
| 8145 | 2005-07-28 20:34:41.000 | 937 937 | 198 198 | 2005-08-05 15:28:41.000 | 2 2 | 2020-12-23 07:17:17 |
| 9389 | 2005-07-30 19:27:59.000 | 3124 3124 | 198 198 | 2005-08-04 18:25:59.000 | 2 2 | 2020-12-23 07:17:35 |
| 10112 | 2005-07-31 21:08:56.000 | 2643 2643 | 198 198 | 2005-08-01 23:35:56.000 | 2 2 | 2020-12-23 07:17:45 |
| 10147 | 2005-07-31 22:18:43.000 | 1351 1351 | 198 198 | 2005-08-02 23:08:43.000 | 2 2 | 2020-12-23 07:17:46 |
| 10679 | 2005-08-01 17:27:58.000 | 4437 4437 | 198 198 | 2005-08-08 16:06:58.000 | 1 1 | 2020-12-23 07:17:53 |
| 11351 | 2005-08-02 17:28:07.000 | 242 242 | 198 198 | 2005-08-09 21:55:07.000 | 1 1 | 2020-12-23 07:18:02 |
| 11594 | 2005-08-17 02:47:02.000 | 319 319 | 198 198 | 2005-08-22 05:14:02.000 | 2 2 | 2020-12-23 07:18:06 |
| 11756 | 2005-08-17 09:29:22.000 | 1798 1798 | 198 198 | 2005-08-21 12:17:22.000 | 1 1 | 2020-12-23 07:18:08 |
| 11836 | 2005-08-17 13:03:36.000 | 2253 2253 | 198 198 | 2005-08-19 17:15:36.000 | 1 1 | 2020-12-23 07:18:09 |
| 11949 | 2005-08-17 17:12:26.000 | 854 854 | 198 198 | 2005-08-23 20:48:26.000 | 1 1 | 2020-12-23 07:18:11 |
| 11957 | 2005-08-17 17:22:29.000 | 1924 1924 | 198 198 | 2005-08-23 21:47:29.000 | 2 2 | 2020-12-23 07:18:11 |
| 11985 | 2005-08-17 18:19:44.000 | 2208 2208 | 198 198 | 2005-08-18 19:14:44.000 | 2 2 | 2020-12-23 07:18:11 |
| 12594 | 2005-08-18 16:24:24.000 | 4421 4421 | 198 198 | 2005-08-25 15:45:24.000 | 1 1 | 2020-12-23 07:18:19 |
| 12862 | 2005-08-19 02:31:59.000 | 473 473 | 198 198 | 2005-08-26 08:16:59.000 | 2 2 | 2020-12-23 07:18:23 |
| 13768 | 2005-08-20 11:43:43.000 | 3847 3847 | 198 198 | 2005-08-27 07:56:43.000 | 2 2 | 2020-12-23 07:18:37 |
| 14214 | 2005-08-21 04:30:49.000 | 4510 4510 | 198 198 | 2005-08-26 04:42:49.000 | 1 1 | 2020-12-23 07:18:44 |
| 14380 | 2005-08-21 09:53:52.000 | 1523 1523 | 198 198 | 2005-08-25 05:03:52.000 | 2 2 | 2020-12-23 07:18:46 |
| 14990 | 2005-08-22 07:48:01.000 | 4057 4057 | 198 198 | 2005-08-24 06:41:01.000 | 2 2 | 2020-12-23 07:18:55 |
| 15256 | 2005-08-22 18:20:07.000 | 1873 1873 | 198 198 | 2005-08-28 12:57:07.000 | 1 1 | 2020-12-23 07:18:59 |
| 15433 | 2005-08-23 00:27:18.000 | 155 155 | 198 198 | 2005-08-26 21:36:18.000 | 1 1 | 2020-12-23 07:19:01 |
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) ;