rental
30 rows where customer_id = 115
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 |
|---|---|---|---|---|---|---|
| 915 | 2005-05-30 11:20:27.000 | 1859 1859 | 115 115 | 2005-06-02 11:55:27.000 | 1 1 | 2020-12-23 07:15:32 |
| 983 | 2005-05-30 22:15:51.000 | 63 63 | 115 115 | 2005-06-02 22:56:51.000 | 1 1 | 2020-12-23 07:15:33 |
| 1102 | 2005-05-31 14:20:29.000 | 2052 2052 | 115 115 | 2005-06-04 17:38:29.000 | 2 2 | 2020-12-23 07:15:34 |
| 1361 | 2005-06-15 13:37:38.000 | 4338 4338 | 115 115 | 2005-06-19 17:08:38.000 | 1 1 | 2020-12-23 07:15:38 |
| 1515 | 2005-06-15 23:07:50.000 | 3244 3244 | 115 115 | 2005-06-20 02:33:50.000 | 2 2 | 2020-12-23 07:15:40 |
| 3289 | 2005-06-21 06:41:48.000 | 2248 2248 | 115 115 | 2005-06-30 00:54:48.000 | 1 1 | 2020-12-23 07:16:05 |
| 3544 | 2005-07-06 02:06:32.000 | 3098 3098 | 115 115 | 2005-07-09 04:35:32.000 | 2 2 | 2020-12-23 07:16:09 |
| 3624 | 2005-07-06 06:06:27.000 | 1778 1778 | 115 115 | 2005-07-13 08:30:27.000 | 2 2 | 2020-12-23 07:16:10 |
| 4780 | 2005-07-08 16:06:51.000 | 2740 2740 | 115 115 | 2005-07-13 18:34:51.000 | 1 1 | 2020-12-23 07:16:27 |
| 5245 | 2005-07-09 13:24:14.000 | 3547 3547 | 115 115 | 2005-07-12 11:16:14.000 | 1 1 | 2020-12-23 07:16:34 |
| 6080 | 2005-07-11 05:08:11.000 | 2682 2682 | 115 115 | 2005-07-16 09:54:11.000 | 2 2 | 2020-12-23 07:16:46 |
| 6113 | 2005-07-11 07:31:08.000 | 4437 4437 | 115 115 | 2005-07-20 11:01:08.000 | 2 2 | 2020-12-23 07:16:47 |
| 6373 | 2005-07-11 21:35:20.000 | 1042 1042 | 115 115 | 2005-07-13 23:22:20.000 | 2 2 | 2020-12-23 07:16:50 |
| 6574 | 2005-07-12 06:04:22.000 | 621 621 | 115 115 | 2005-07-18 03:19:22.000 | 2 2 | 2020-12-23 07:16:53 |
| 6798 | 2005-07-12 16:49:11.000 | 275 275 | 115 115 | 2005-07-19 12:11:11.000 | 2 2 | 2020-12-23 07:16:57 |
| 7355 | 2005-07-27 14:45:59.000 | 3803 3803 | 115 115 | 2005-08-02 17:23:59.000 | 2 2 | 2020-12-23 07:17:05 |
| 7465 | 2005-07-27 18:50:30.000 | 2357 2357 | 115 115 | 2005-07-30 20:55:30.000 | 1 1 | 2020-12-23 07:17:07 |
| 7983 | 2005-07-28 14:23:01.000 | 1836 1836 | 115 115 | 2005-07-29 11:51:01.000 | 1 1 | 2020-12-23 07:17:14 |
| 8594 | 2005-07-29 12:42:13.000 | 4155 4155 | 115 115 | 2005-08-02 07:38:13.000 | 1 1 | 2020-12-23 07:17:23 |
| 9578 | 2005-07-31 02:54:31.000 | 2965 2965 | 115 115 | 2005-08-02 02:48:31.000 | 1 1 | 2020-12-23 07:17:38 |
| 10022 | 2005-07-31 18:25:30.000 | 1900 1900 | 115 115 | 2005-08-04 13:35:30.000 | 1 1 | 2020-12-23 07:17:44 |
| 10475 | 2005-08-01 10:03:17.000 | 2931 2931 | 115 115 | 2005-08-10 15:50:17.000 | 2 2 | 2020-12-23 07:17:50 |
| 10647 | 2005-08-01 16:08:46.000 | 3137 3137 | 115 115 | 2005-08-06 20:37:46.000 | 2 2 | 2020-12-23 07:17:53 |
| 10919 | 2005-08-02 02:11:03.000 | 868 868 | 115 115 | 2005-08-04 01:49:03.000 | 1 1 | 2020-12-23 07:17:57 |
| 11891 | 2005-08-17 15:11:55.000 | 2619 2619 | 115 115 | 2005-08-22 11:11:55.000 | 2 2 | 2020-12-23 07:18:10 |
| 12366 | 2005-08-18 07:55:14.000 | 3799 3799 | 115 115 | 2005-08-22 06:12:14.000 | 1 1 | 2020-12-23 07:18:16 |
| 13056 | 2006-02-14 15:16:03.000 | 3751 3751 | 115 115 | 2 2 | 2020-12-23 07:18:26 | |
| 13977 | 2005-08-20 19:02:34.000 | 1126 1126 | 115 115 | 2005-08-24 14:14:34.000 | 1 1 | 2020-12-23 07:18:40 |
| 15176 | 2005-08-22 15:30:25.000 | 3063 3063 | 115 115 | 2005-08-31 20:00:25.000 | 1 1 | 2020-12-23 07:18:57 |
| 15452 | 2005-08-23 00:57:12.000 | 717 717 | 115 115 | 2005-08-28 00:19:12.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) ;