rental
31 rows where customer_id = 513
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 |
|---|---|---|---|---|---|---|
| 993 | 2005-05-30 23:54:19.000 | 2080 2080 | 513 513 | 2005-06-04 21:27:19.000 | 1 1 | 2020-12-23 07:15:33 |
| 1607 | 2005-06-16 06:25:35.000 | 3289 3289 | 513 513 | 2005-06-20 02:50:35.000 | 2 2 | 2020-12-23 07:15:41 |
| 2290 | 2005-06-18 07:34:37.000 | 200 200 | 513 513 | 2005-06-26 11:45:37.000 | 1 1 | 2020-12-23 07:15:51 |
| 2737 | 2005-06-19 15:48:33.000 | 3131 3131 | 513 513 | 2005-06-26 18:44:33.000 | 2 2 | 2020-12-23 07:15:57 |
| 3872 | 2005-07-06 18:00:19.000 | 1785 1785 | 513 513 | 2005-07-07 17:26:19.000 | 1 1 | 2020-12-23 07:16:14 |
| 4055 | 2005-07-07 03:49:13.000 | 2561 2561 | 513 513 | 2005-07-11 03:15:13.000 | 2 2 | 2020-12-23 07:16:16 |
| 4178 | 2005-07-07 10:14:31.000 | 2898 2898 | 513 513 | 2005-07-12 09:38:31.000 | 2 2 | 2020-12-23 07:16:18 |
| 4220 | 2005-07-07 12:12:36.000 | 821 821 | 513 513 | 2005-07-10 13:37:36.000 | 1 1 | 2020-12-23 07:16:19 |
| 5741 | 2005-07-10 11:55:40.000 | 2041 2041 | 513 513 | 2005-07-16 15:02:40.000 | 2 2 | 2020-12-23 07:16:41 |
| 6027 | 2005-07-11 02:26:29.000 | 4536 4536 | 513 513 | 2005-07-18 23:05:29.000 | 1 1 | 2020-12-23 07:16:46 |
| 7655 | 2005-07-28 02:01:11.000 | 2665 2665 | 513 513 | 2005-07-30 23:12:11.000 | 2 2 | 2020-12-23 07:17:09 |
| 8320 | 2005-07-29 03:49:58.000 | 1285 1285 | 513 513 | 2005-08-03 01:00:58.000 | 1 1 | 2020-12-23 07:17:19 |
| 8350 | 2005-07-29 04:50:39.000 | 3726 3726 | 513 513 | 2005-07-31 05:36:39.000 | 2 2 | 2020-12-23 07:17:20 |
| 8683 | 2005-07-29 16:15:43.000 | 3915 3915 | 513 513 | 2005-08-07 19:19:43.000 | 1 1 | 2020-12-23 07:17:25 |
| 8798 | 2005-07-29 21:15:38.000 | 800 800 | 513 513 | 2005-08-05 02:46:38.000 | 2 2 | 2020-12-23 07:17:26 |
| 9862 | 2005-07-31 13:05:03.000 | 474 474 | 513 513 | 2005-08-01 09:05:03.000 | 2 2 | 2020-12-23 07:17:42 |
| 10012 | 2005-07-31 18:06:06.000 | 2554 2554 | 513 513 | 2005-08-09 16:47:06.000 | 2 2 | 2020-12-23 07:17:44 |
| 11081 | 2005-08-02 07:30:14.000 | 3804 3804 | 513 513 | 2005-08-09 08:50:14.000 | 1 1 | 2020-12-23 07:17:59 |
| 11165 | 2005-08-02 10:12:17.000 | 2059 2059 | 513 513 | 2005-08-04 11:09:17.000 | 1 1 | 2020-12-23 07:18:00 |
| 11407 | 2005-08-02 19:18:43.000 | 3437 3437 | 513 513 | 2005-08-08 16:15:43.000 | 2 2 | 2020-12-23 07:18:03 |
| 11755 | 2005-08-17 09:15:35.000 | 3457 3457 | 513 513 | 2005-08-23 06:28:35.000 | 2 2 | 2020-12-23 07:18:08 |
| 12559 | 2005-08-18 14:53:58.000 | 39 39 | 513 513 | 2005-08-25 20:22:58.000 | 1 1 | 2020-12-23 07:18:19 |
| 12784 | 2005-08-19 00:02:46.000 | 447 447 | 513 513 | 2005-08-20 04:39:46.000 | 1 1 | 2020-12-23 07:18:22 |
| 12807 | 2005-08-19 00:38:46.000 | 2323 2323 | 513 513 | 2005-08-28 03:37:46.000 | 2 2 | 2020-12-23 07:18:22 |
| 13596 | 2005-08-20 05:58:58.000 | 482 482 | 513 513 | 2005-08-27 08:35:58.000 | 1 1 | 2020-12-23 07:18:34 |
| 13690 | 2005-08-20 09:07:27.000 | 3721 3721 | 513 513 | 2005-08-23 08:03:27.000 | 2 2 | 2020-12-23 07:18:36 |
| 14844 | 2005-08-22 02:09:12.000 | 145 145 | 513 513 | 2005-08-31 05:43:12.000 | 1 1 | 2020-12-23 07:18:52 |
| 14875 | 2005-08-22 03:34:39.000 | 3912 3912 | 513 513 | 2005-08-26 03:40:39.000 | 1 1 | 2020-12-23 07:18:53 |
| 15035 | 2005-08-22 09:34:32.000 | 339 339 | 513 513 | 2005-08-28 10:23:32.000 | 1 1 | 2020-12-23 07:18:55 |
| 15289 | 2005-08-22 19:27:24.000 | 1026 1026 | 513 513 | 2005-08-30 22:21:24.000 | 1 1 | 2020-12-23 07:18:59 |
| 15545 | 2005-08-23 04:20:16.000 | 843 843 | 513 513 | 2005-08-29 08:22:16.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) ;