rental
34 rows where customer_id = 576
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 |
|---|---|---|---|---|---|---|
| 755 | 2005-05-29 10:26:29.000 | 3090 3090 | 576 576 | 2005-06-01 10:25:29.000 | 2 2 | 2020-12-23 07:15:29 |
| 968 | 2005-05-30 19:20:03.000 | 119 119 | 576 576 | 2005-05-31 18:17:03.000 | 2 2 | 2020-12-23 07:15:33 |
| 1366 | 2005-06-15 14:21:00.000 | 4238 4238 | 576 576 | 2005-06-24 17:36:00.000 | 1 1 | 2020-12-23 07:15:38 |
| 1742 | 2005-06-16 16:37:48.000 | 2772 2772 | 576 576 | 2005-06-17 19:47:48.000 | 2 2 | 2020-12-23 07:15:43 |
| 2309 | 2005-06-18 08:43:24.000 | 611 611 | 576 576 | 2005-06-20 03:56:24.000 | 1 1 | 2020-12-23 07:15:51 |
| 2444 | 2005-06-18 18:58:12.000 | 2233 2233 | 576 576 | 2005-06-27 20:48:12.000 | 1 1 | 2020-12-23 07:15:53 |
| 2651 | 2005-06-19 10:22:56.000 | 2181 2181 | 576 576 | 2005-06-27 13:37:56.000 | 1 1 | 2020-12-23 07:15:56 |
| 2799 | 2005-06-19 19:15:21.000 | 4579 4579 | 576 576 | 2005-06-21 21:35:21.000 | 1 1 | 2020-12-23 07:15:58 |
| 3226 | 2005-06-21 02:18:14.000 | 4079 4079 | 576 576 | 2005-06-26 22:32:14.000 | 2 2 | 2020-12-23 07:16:04 |
| 3877 | 2005-07-06 18:22:10.000 | 2796 2796 | 576 576 | 2005-07-07 23:38:10.000 | 1 1 | 2020-12-23 07:16:14 |
| 3889 | 2005-07-06 18:56:25.000 | 2005 2005 | 576 576 | 2005-07-08 21:22:25.000 | 2 2 | 2020-12-23 07:16:14 |
| 3934 | 2005-07-06 21:07:23.000 | 3187 3187 | 576 576 | 2005-07-10 18:20:23.000 | 2 2 | 2020-12-23 07:16:14 |
| 4514 | 2005-07-08 02:41:25.000 | 1938 1938 | 576 576 | 2005-07-15 06:17:25.000 | 1 1 | 2020-12-23 07:16:23 |
| 5597 | 2005-07-10 04:47:57.000 | 4264 4264 | 576 576 | 2005-07-17 01:54:57.000 | 2 2 | 2020-12-23 07:16:39 |
| 5934 | 2005-07-10 22:07:59.000 | 3825 3825 | 576 576 | 2005-07-15 21:07:59.000 | 2 2 | 2020-12-23 07:16:44 |
| 7319 | 2005-07-27 13:31:25.000 | 2370 2370 | 576 576 | 2005-08-04 07:31:25.000 | 1 1 | 2020-12-23 07:17:04 |
| 7605 | 2005-07-27 23:57:01.000 | 1391 1391 | 576 576 | 2005-08-03 04:11:01.000 | 1 1 | 2020-12-23 07:17:09 |
| 8907 | 2005-07-30 01:25:03.000 | 3239 3239 | 576 576 | 2005-08-03 05:41:03.000 | 1 1 | 2020-12-23 07:17:28 |
| 9133 | 2005-07-30 09:59:00.000 | 408 408 | 576 576 | 2005-08-07 04:24:00.000 | 1 1 | 2020-12-23 07:17:31 |
| 9548 | 2005-07-31 01:54:19.000 | 3038 3038 | 576 576 | 2005-08-05 00:50:19.000 | 2 2 | 2020-12-23 07:17:37 |
| 9620 | 2005-07-31 04:19:18.000 | 2177 2177 | 576 576 | 2005-08-08 09:20:18.000 | 1 1 | 2020-12-23 07:17:38 |
| 9962 | 2005-07-31 16:10:36.000 | 1951 1951 | 576 576 | 2005-08-02 17:09:36.000 | 1 1 | 2020-12-23 07:17:43 |
| 9979 | 2005-07-31 17:00:07.000 | 646 646 | 576 576 | 2005-08-08 20:40:07.000 | 1 1 | 2020-12-23 07:17:43 |
| 10000 | 2005-07-31 17:41:05.000 | 3221 3221 | 576 576 | 2005-08-02 20:51:05.000 | 1 1 | 2020-12-23 07:17:44 |
| 10724 | 2005-08-01 19:10:59.000 | 3425 3425 | 576 576 | 2005-08-07 18:44:59.000 | 1 1 | 2020-12-23 07:17:54 |
| 11942 | 2006-02-14 15:16:03.000 | 4094 4094 | 576 576 | 2 2 | 2020-12-23 07:18:11 | |
| 12112 | 2005-08-17 23:00:31.000 | 4290 4290 | 576 576 | 2005-08-25 02:05:31.000 | 1 1 | 2020-12-23 07:18:13 |
| 12245 | 2005-08-18 03:46:40.000 | 2960 2960 | 576 576 | 2005-08-24 22:27:40.000 | 2 2 | 2020-12-23 07:18:15 |
| 13061 | 2005-08-19 09:43:39.000 | 730 730 | 576 576 | 2005-08-24 10:03:39.000 | 1 1 | 2020-12-23 07:18:26 |
| 13326 | 2005-08-19 19:52:52.000 | 429 429 | 576 576 | 2005-08-20 18:56:52.000 | 1 1 | 2020-12-23 07:18:30 |
| 13464 | 2006-02-14 15:16:03.000 | 4292 4292 | 576 576 | 1 1 | 2020-12-23 07:18:32 | |
| 14501 | 2005-08-21 14:14:38.000 | 3588 3588 | 576 576 | 2005-08-25 17:58:38.000 | 1 1 | 2020-12-23 07:18:48 |
| 14541 | 2005-08-21 15:34:32.000 | 1275 1275 | 576 576 | 2005-08-25 13:18:32.000 | 1 1 | 2020-12-23 07:18:48 |
| 15634 | 2005-08-23 07:34:18.000 | 2517 2517 | 576 576 | 2005-08-24 12:00:18.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;