rental
29 rows where customer_id = 263
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 |
|---|---|---|---|---|---|---|
| 97 | 2005-05-25 16:34:24.000 | 1283 1283 | 263 263 | 2005-05-28 12:13:24.000 | 2 2 | 2020-12-23 07:15:21 |
| 266 | 2005-05-26 16:08:05.000 | 3303 3303 | 263 263 | 2005-05-27 10:55:05.000 | 2 2 | 2020-12-23 07:15:23 |
| 2126 | 2005-06-17 20:54:36.000 | 4276 4276 | 263 263 | 2005-06-27 02:16:36.000 | 1 1 | 2020-12-23 07:15:49 |
| 3257 | 2005-06-21 03:47:19.000 | 3975 3975 | 263 263 | 2005-06-28 01:24:19.000 | 2 2 | 2020-12-23 07:16:04 |
| 3578 | 2005-07-06 03:47:05.000 | 2954 2954 | 263 263 | 2005-07-08 02:26:05.000 | 1 1 | 2020-12-23 07:16:09 |
| 3773 | 2005-07-06 13:23:34.000 | 2034 2034 | 263 263 | 2005-07-08 17:23:34.000 | 2 2 | 2020-12-23 07:16:12 |
| 4637 | 2005-07-08 08:49:54.000 | 1917 1917 | 263 263 | 2005-07-11 13:12:54.000 | 2 2 | 2020-12-23 07:16:25 |
| 4682 | 2005-07-08 10:38:27.000 | 873 873 | 263 263 | 2005-07-11 06:29:27.000 | 2 2 | 2020-12-23 07:16:26 |
| 5125 | 2005-07-09 07:25:28.000 | 990 990 | 263 263 | 2005-07-12 12:34:28.000 | 1 1 | 2020-12-23 07:16:32 |
| 5254 | 2005-07-09 13:50:11.000 | 654 654 | 263 263 | 2005-07-13 09:07:11.000 | 1 1 | 2020-12-23 07:16:34 |
| 6376 | 2005-07-11 21:40:23.000 | 1834 1834 | 263 263 | 2005-07-13 23:16:23.000 | 1 1 | 2020-12-23 07:16:50 |
| 6483 | 2005-07-12 01:59:20.000 | 1053 1053 | 263 263 | 2005-07-12 22:22:20.000 | 2 2 | 2020-12-23 07:16:52 |
| 6808 | 2005-07-12 17:36:42.000 | 362 362 | 263 263 | 2005-07-18 23:33:42.000 | 2 2 | 2020-12-23 07:16:57 |
| 7291 | 2005-07-27 12:30:47.000 | 310 310 | 263 263 | 2005-08-01 12:45:47.000 | 1 1 | 2020-12-23 07:17:04 |
| 7425 | 2005-07-27 17:18:35.000 | 435 435 | 263 263 | 2005-08-02 11:18:35.000 | 1 1 | 2020-12-23 07:17:06 |
| 7706 | 2005-07-28 04:03:17.000 | 994 994 | 263 263 | 2005-07-29 22:16:17.000 | 2 2 | 2020-12-23 07:17:10 |
| 7833 | 2005-07-28 08:46:14.000 | 1166 1166 | 263 263 | 2005-08-04 06:13:14.000 | 1 1 | 2020-12-23 07:17:12 |
| 10476 | 2005-08-01 10:03:20.000 | 1993 1993 | 263 263 | 2005-08-10 06:52:20.000 | 1 1 | 2020-12-23 07:17:50 |
| 10775 | 2005-08-01 20:59:52.000 | 4190 4190 | 263 263 | 2005-08-04 19:31:52.000 | 2 2 | 2020-12-23 07:17:55 |
| 11339 | 2005-08-02 17:02:06.000 | 705 705 | 263 263 | 2005-08-08 21:12:06.000 | 1 1 | 2020-12-23 07:18:02 |
| 11822 | 2005-08-17 12:32:39.000 | 1317 1317 | 263 263 | 2005-08-18 12:30:39.000 | 2 2 | 2020-12-23 07:18:09 |
| 12057 | 2005-08-17 21:04:35.000 | 1878 1878 | 263 263 | 2005-08-25 00:17:35.000 | 1 1 | 2020-12-23 07:18:12 |
| 12432 | 2005-08-18 10:35:13.000 | 2543 2543 | 263 263 | 2005-08-26 08:20:13.000 | 2 2 | 2020-12-23 07:18:17 |
| 12919 | 2005-08-19 04:32:15.000 | 2121 2121 | 263 263 | 2005-08-24 05:56:15.000 | 2 2 | 2020-12-23 07:18:24 |
| 14335 | 2005-08-21 08:33:07.000 | 2610 2610 | 263 263 | 2005-08-26 14:16:07.000 | 1 1 | 2020-12-23 07:18:45 |
| 14448 | 2005-08-21 12:13:10.000 | 1937 1937 | 263 263 | 2005-08-30 08:46:10.000 | 1 1 | 2020-12-23 07:18:47 |
| 15293 | 2006-02-14 15:16:03.000 | 1219 1219 | 263 263 | 2 2 | 2020-12-23 07:18:59 | |
| 15322 | 2005-08-22 20:20:30.000 | 3553 3553 | 263 263 | 2005-08-25 01:26:30.000 | 2 2 | 2020-12-23 07:19:00 |
| 15922 | 2005-08-23 18:07:31.000 | 1702 1702 | 263 263 | 2005-09-01 22:27:31.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) ;