rental
36 rows where customer_id = 267
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 |
|---|---|---|---|---|---|---|
| 91 | 2005-05-25 14:57:22.000 | 139 139 | 267 267 | 2005-06-01 18:32:22.000 | 1 1 | 2020-12-23 07:15:21 |
| 436 | 2005-05-27 17:21:04.000 | 4317 4317 | 267 267 | 2005-05-30 21:26:04.000 | 2 2 | 2020-12-23 07:15:25 |
| 1030 | 2005-05-31 04:06:47.000 | 3948 3948 | 267 267 | 2005-06-02 02:59:47.000 | 1 1 | 2020-12-23 07:15:33 |
| 1257 | 2005-06-15 06:15:36.000 | 1938 1938 | 267 267 | 2005-06-21 01:04:36.000 | 2 2 | 2020-12-23 07:15:36 |
| 1349 | 2005-06-15 12:49:02.000 | 1131 1131 | 267 267 | 2005-06-17 15:20:02.000 | 1 1 | 2020-12-23 07:15:38 |
| 2265 | 2005-06-18 06:03:27.000 | 3069 3069 | 267 267 | 2005-06-20 01:16:27.000 | 1 1 | 2020-12-23 07:15:51 |
| 2578 | 2005-06-19 04:40:06.000 | 1695 1695 | 267 267 | 2005-06-26 09:37:06.000 | 2 2 | 2020-12-23 07:15:55 |
| 2582 | 2005-06-19 04:56:27.000 | 201 201 | 267 267 | 2005-06-26 08:56:27.000 | 2 2 | 2020-12-23 07:15:55 |
| 2699 | 2005-06-19 13:29:28.000 | 72 72 | 267 267 | 2005-06-24 11:15:28.000 | 2 2 | 2020-12-23 07:15:57 |
| 2754 | 2005-06-19 16:55:59.000 | 1761 1761 | 267 267 | 2005-06-26 18:11:59.000 | 1 1 | 2020-12-23 07:15:57 |
| 2877 | 2005-06-20 01:07:16.000 | 485 485 | 267 267 | 2005-06-24 01:05:16.000 | 1 1 | 2020-12-23 07:15:59 |
| 3090 | 2005-06-20 16:00:19.000 | 3301 3301 | 267 267 | 2005-06-23 14:55:19.000 | 1 1 | 2020-12-23 07:16:02 |
| 3817 | 2005-07-06 15:31:45.000 | 2933 2933 | 267 267 | 2005-07-11 17:11:45.000 | 1 1 | 2020-12-23 07:16:13 |
| 5340 | 2005-07-09 17:11:35.000 | 650 650 | 267 267 | 2005-07-17 17:59:35.000 | 2 2 | 2020-12-23 07:16:35 |
| 6070 | 2005-07-11 04:47:42.000 | 1679 1679 | 267 267 | 2005-07-13 01:49:42.000 | 2 2 | 2020-12-23 07:16:46 |
| 6706 | 2005-07-12 12:59:16.000 | 4552 4552 | 267 267 | 2005-07-19 10:37:16.000 | 1 1 | 2020-12-23 07:16:55 |
| 8190 | 2005-07-28 22:47:06.000 | 2290 2290 | 267 267 | 2005-08-04 21:51:06.000 | 1 1 | 2020-12-23 07:17:17 |
| 8572 | 2005-07-29 11:51:24.000 | 2815 2815 | 267 267 | 2005-08-02 11:44:24.000 | 1 1 | 2020-12-23 07:17:23 |
| 9059 | 2005-07-30 07:18:44.000 | 480 480 | 267 267 | 2005-08-08 08:39:44.000 | 1 1 | 2020-12-23 07:17:30 |
| 9308 | 2005-07-30 16:53:21.000 | 2202 2202 | 267 267 | 2005-08-08 15:33:21.000 | 2 2 | 2020-12-23 07:17:34 |
| 9403 | 2005-07-30 20:18:53.000 | 3466 3466 | 267 267 | 2005-08-06 19:54:53.000 | 1 1 | 2020-12-23 07:17:35 |
| 9807 | 2005-07-31 11:13:52.000 | 2137 2137 | 267 267 | 2005-08-02 07:34:52.000 | 1 1 | 2020-12-23 07:17:41 |
| 10048 | 2005-07-31 19:08:56.000 | 3821 3821 | 267 267 | 2005-08-05 20:15:56.000 | 2 2 | 2020-12-23 07:17:44 |
| 10343 | 2005-08-01 05:15:47.000 | 2627 2627 | 267 267 | 2005-08-02 04:48:47.000 | 2 2 | 2020-12-23 07:17:48 |
| 11373 | 2005-08-02 18:14:12.000 | 181 181 | 267 267 | 2005-08-06 23:37:12.000 | 1 1 | 2020-12-23 07:18:03 |
| 11690 | 2005-08-17 06:44:22.000 | 3934 3934 | 267 267 | 2005-08-24 03:49:22.000 | 1 1 | 2020-12-23 07:18:07 |
| 12066 | 2006-02-14 15:16:03.000 | 2474 2474 | 267 267 | 2 2 | 2020-12-23 07:18:12 | |
| 12320 | 2005-08-18 06:26:51.000 | 3248 3248 | 267 267 | 2005-08-20 04:00:51.000 | 1 1 | 2020-12-23 07:18:16 |
| 12979 | 2005-08-19 07:00:35.000 | 1227 1227 | 267 267 | 2005-08-21 06:12:35.000 | 2 2 | 2020-12-23 07:18:25 |
| 13236 | 2005-08-19 16:18:24.000 | 4574 4574 | 267 267 | 2005-08-27 17:48:24.000 | 2 2 | 2020-12-23 07:18:29 |
| 13713 | 2006-02-14 15:16:03.000 | 3075 3075 | 267 267 | 1 1 | 2020-12-23 07:18:36 | |
| 14131 | 2005-08-21 01:43:40.000 | 4382 4382 | 267 267 | 2005-08-29 02:00:40.000 | 2 2 | 2020-12-23 07:18:43 |
| 15020 | 2005-08-22 08:54:12.000 | 3460 3460 | 267 267 | 2005-08-27 04:54:12.000 | 1 1 | 2020-12-23 07:18:55 |
| 15208 | 2005-08-22 16:35:47.000 | 4346 4346 | 267 267 | 2005-08-30 15:16:47.000 | 1 1 | 2020-12-23 07:18:58 |
| 15768 | 2005-08-23 13:14:47.000 | 662 662 | 267 267 | 2005-08-29 14:17:47.000 | 2 2 | 2020-12-23 07:19:06 |
| 15903 | 2005-08-23 17:30:40.000 | 1289 1289 | 267 267 | 2005-08-29 14:12:40.000 | 1 1 | 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) ;