rental
31 rows where customer_id = 479
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 |
|---|---|---|---|---|---|---|
| 132 | 2005-05-25 21:46:54.000 | 3367 3367 | 479 479 | 2005-05-31 21:02:54.000 | 1 1 | 2020-12-23 07:15:21 |
| 709 | 2005-05-29 03:48:01.000 | 2459 2459 | 479 479 | 2005-06-06 05:21:01.000 | 1 1 | 2020-12-23 07:15:29 |
| 1902 | 2005-06-17 04:35:52.000 | 2905 2905 | 479 479 | 2005-06-20 06:52:52.000 | 2 2 | 2020-12-23 07:15:45 |
| 1947 | 2005-06-17 08:02:20.000 | 3344 3344 | 479 479 | 2005-06-25 10:25:20.000 | 1 1 | 2020-12-23 07:15:46 |
| 1987 | 2005-06-17 10:40:36.000 | 110 110 | 479 479 | 2005-06-23 14:23:36.000 | 1 1 | 2020-12-23 07:15:47 |
| 2071 | 2005-06-17 16:33:17.000 | 2867 2867 | 479 479 | 2005-06-23 21:51:17.000 | 1 1 | 2020-12-23 07:15:48 |
| 2376 | 2005-06-18 14:55:30.000 | 3664 3664 | 479 479 | 2005-06-25 17:40:30.000 | 1 1 | 2020-12-23 07:15:52 |
| 2764 | 2005-06-19 17:27:25.000 | 1718 1718 | 479 479 | 2005-06-28 17:18:25.000 | 2 2 | 2020-12-23 07:15:58 |
| 3537 | 2005-07-06 01:36:53.000 | 4220 4220 | 479 479 | 2005-07-13 07:01:53.000 | 2 2 | 2020-12-23 07:16:08 |
| 3798 | 2005-07-06 14:57:53.000 | 1942 1942 | 479 479 | 2005-07-07 10:48:53.000 | 2 2 | 2020-12-23 07:16:12 |
| 4183 | 2005-07-07 10:28:33.000 | 3342 3342 | 479 479 | 2005-07-15 12:29:33.000 | 1 1 | 2020-12-23 07:16:18 |
| 5481 | 2005-07-09 23:51:57.000 | 562 562 | 479 479 | 2005-07-11 05:28:57.000 | 2 2 | 2020-12-23 07:16:38 |
| 5751 | 2005-07-10 12:25:11.000 | 387 387 | 479 479 | 2005-07-11 15:23:11.000 | 1 1 | 2020-12-23 07:16:42 |
| 6084 | 2005-07-11 05:16:20.000 | 1334 1334 | 479 479 | 2005-07-19 01:38:20.000 | 2 2 | 2020-12-23 07:16:46 |
| 6421 | 2005-07-11 23:45:25.000 | 4477 4477 | 479 479 | 2005-07-15 20:45:25.000 | 2 2 | 2020-12-23 07:16:51 |
| 6597 | 2005-07-12 07:37:02.000 | 979 979 | 479 479 | 2005-07-16 10:24:02.000 | 2 2 | 2020-12-23 07:16:54 |
| 6849 | 2005-07-12 19:29:19.000 | 4307 4307 | 479 479 | 2005-07-19 22:03:19.000 | 1 1 | 2020-12-23 07:16:57 |
| 7060 | 2005-07-27 03:51:04.000 | 3912 3912 | 479 479 | 2005-08-03 07:53:04.000 | 1 1 | 2020-12-23 07:17:01 |
| 7893 | 2005-07-28 10:49:27.000 | 3058 3058 | 479 479 | 2005-08-02 06:46:27.000 | 1 1 | 2020-12-23 07:17:13 |
| 9347 | 2005-07-30 18:16:03.000 | 3557 3557 | 479 479 | 2005-08-05 18:35:03.000 | 1 1 | 2020-12-23 07:17:34 |
| 9439 | 2005-07-30 21:38:12.000 | 290 290 | 479 479 | 2005-08-06 00:03:12.000 | 1 1 | 2020-12-23 07:17:36 |
| 9697 | 2005-07-31 07:23:11.000 | 762 762 | 479 479 | 2005-08-05 08:04:11.000 | 2 2 | 2020-12-23 07:17:39 |
| 9754 | 2005-07-31 09:23:43.000 | 3751 3751 | 479 479 | 2005-08-08 06:04:43.000 | 1 1 | 2020-12-23 07:17:40 |
| 10303 | 2005-08-01 04:13:33.000 | 936 936 | 479 479 | 2005-08-06 02:16:33.000 | 2 2 | 2020-12-23 07:17:48 |
| 11109 | 2005-08-02 08:20:29.000 | 2683 2683 | 479 479 | 2005-08-09 11:35:29.000 | 2 2 | 2020-12-23 07:17:59 |
| 11584 | 2005-08-17 02:13:26.000 | 3906 3906 | 479 479 | 2005-08-22 01:24:26.000 | 2 2 | 2020-12-23 07:18:06 |
| 11835 | 2005-08-17 13:03:13.000 | 2796 2796 | 479 479 | 2005-08-19 10:50:13.000 | 1 1 | 2020-12-23 07:18:09 |
| 12101 | 2006-02-14 15:16:03.000 | 1556 1556 | 479 479 | 1 1 | 2020-12-23 07:18:13 | |
| 12401 | 2005-08-18 09:20:51.000 | 4314 4314 | 479 479 | 2005-08-21 05:50:51.000 | 2 2 | 2020-12-23 07:18:17 |
| 13078 | 2005-08-19 10:16:43.000 | 4104 4104 | 479 479 | 2005-08-27 11:35:43.000 | 2 2 | 2020-12-23 07:18:26 |
| 13974 | 2005-08-20 18:54:59.000 | 1912 1912 | 479 479 | 2005-08-28 13:02:59.000 | 1 1 | 2020-12-23 07:18:40 |
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) ;