rental
30 rows where customer_id = 269
This data as json, xlsx, CSV (advanced)
Suggested facets: rental_date, 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 |
|---|---|---|---|---|---|---|
| 7 | 2005-05-24 23:11:53.000 | 3995 3995 | 269 269 | 2005-05-29 20:34:53.000 | 2 2 | 2020-12-23 07:15:20 |
| 98 | 2005-05-25 16:48:24.000 | 2970 2970 | 269 269 | 2005-05-27 11:29:24.000 | 2 2 | 2020-12-23 07:15:21 |
| 678 | 2005-05-28 23:15:48.000 | 3741 3741 | 269 269 | 2005-06-03 04:43:48.000 | 2 2 | 2020-12-23 07:15:28 |
| 703 | 2005-05-29 02:29:36.000 | 1123 1123 | 269 269 | 2005-06-03 04:54:36.000 | 2 2 | 2020-12-23 07:15:29 |
| 750 | 2005-05-29 09:41:40.000 | 730 730 | 269 269 | 2005-05-30 13:31:40.000 | 1 1 | 2020-12-23 07:15:29 |
| 1099 | 2005-05-31 13:54:48.000 | 924 924 | 269 269 | 2005-06-05 13:04:48.000 | 2 2 | 2020-12-23 07:15:34 |
| 1334 | 2005-06-15 11:43:09.000 | 1242 1242 | 269 269 | 2005-06-20 15:45:09.000 | 2 2 | 2020-12-23 07:15:37 |
| 1909 | 2005-06-17 05:11:04.000 | 2599 2599 | 269 269 | 2005-06-19 04:33:04.000 | 2 2 | 2020-12-23 07:15:45 |
| 2493 | 2005-06-18 22:12:09.000 | 4121 4121 | 269 269 | 2005-06-27 23:44:09.000 | 1 1 | 2020-12-23 07:15:54 |
| 4125 | 2005-07-07 07:20:29.000 | 4131 4131 | 269 269 | 2005-07-15 06:41:29.000 | 2 2 | 2020-12-23 07:16:17 |
| 4804 | 2005-07-08 16:57:30.000 | 3756 3756 | 269 269 | 2005-07-10 18:25:30.000 | 1 1 | 2020-12-23 07:16:28 |
| 4880 | 2005-07-08 19:36:17.000 | 4178 4178 | 269 269 | 2005-07-13 00:01:17.000 | 1 1 | 2020-12-23 07:16:29 |
| 6440 | 2005-07-12 00:25:04.000 | 2148 2148 | 269 269 | 2005-07-13 04:52:04.000 | 2 2 | 2020-12-23 07:16:51 |
| 6626 | 2005-07-12 09:16:24.000 | 2418 2418 | 269 269 | 2005-07-17 04:06:24.000 | 2 2 | 2020-12-23 07:16:54 |
| 6804 | 2005-07-12 17:22:06.000 | 1554 1554 | 269 269 | 2005-07-21 11:37:06.000 | 1 1 | 2020-12-23 07:16:57 |
| 7032 | 2005-07-27 03:03:09.000 | 3397 3397 | 269 269 | 2005-07-28 22:57:09.000 | 1 1 | 2020-12-23 07:17:00 |
| 7537 | 2005-07-27 21:36:09.000 | 4456 4456 | 269 269 | 2005-08-01 01:51:09.000 | 1 1 | 2020-12-23 07:17:08 |
| 7972 | 2005-07-28 14:07:46.000 | 2930 2930 | 269 269 | 2005-08-01 11:28:46.000 | 2 2 | 2020-12-23 07:17:14 |
| 10566 | 2005-08-01 13:12:11.000 | 3988 3988 | 269 269 | 2005-08-05 11:16:11.000 | 2 2 | 2020-12-23 07:17:52 |
| 10908 | 2005-08-02 01:53:06.000 | 1284 1284 | 269 269 | 2005-08-04 02:46:06.000 | 2 2 | 2020-12-23 07:17:56 |
| 11014 | 2005-08-02 05:12:22.000 | 393 393 | 269 269 | 2005-08-07 09:33:22.000 | 1 1 | 2020-12-23 07:17:58 |
| 11915 | 2005-08-17 16:05:28.000 | 1557 1557 | 269 269 | 2005-08-25 19:53:28.000 | 2 2 | 2020-12-23 07:18:10 |
| 12344 | 2005-08-18 07:15:19.000 | 3675 3675 | 269 269 | 2005-08-24 04:58:19.000 | 2 2 | 2020-12-23 07:18:16 |
| 12610 | 2006-02-14 15:16:03.000 | 3181 3181 | 269 269 | 1 1 | 2020-12-23 07:18:19 | |
| 13025 | 2006-02-14 15:16:03.000 | 4066 4066 | 269 269 | 1 1 | 2020-12-23 07:18:26 | |
| 13142 | 2005-08-19 12:42:28.000 | 1404 1404 | 269 269 | 2005-08-26 14:52:28.000 | 1 1 | 2020-12-23 07:18:27 |
| 13759 | 2005-08-20 11:24:48.000 | 595 595 | 269 269 | 2005-08-29 10:29:48.000 | 1 1 | 2020-12-23 07:18:37 |
| 14266 | 2005-08-21 06:20:51.000 | 3543 3543 | 269 269 | 2005-08-23 00:44:51.000 | 1 1 | 2020-12-23 07:18:45 |
| 14693 | 2005-08-21 20:44:19.000 | 3454 3454 | 269 269 | 2005-08-29 00:37:19.000 | 2 2 | 2020-12-23 07:18:50 |
| 15788 | 2005-08-23 13:54:39.000 | 13 13 | 269 269 | 2005-08-26 10:17:39.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;