rental
29 rows where customer_id = 287
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 |
|---|---|---|---|---|---|---|
| 498 | 2005-05-28 01:01:21.000 | 458 458 | 287 287 | 2005-05-30 21:20:21.000 | 2 2 | 2020-12-23 07:15:26 |
| 655 | 2005-05-28 20:16:20.000 | 331 331 | 287 287 | 2005-05-31 16:46:20.000 | 2 2 | 2020-12-23 07:15:28 |
| 964 | 2005-05-30 18:53:21.000 | 657 657 | 287 287 | 2005-06-04 22:32:21.000 | 2 2 | 2020-12-23 07:15:33 |
| 1247 | 2005-06-15 05:16:40.000 | 4049 4049 | 287 287 | 2005-06-23 11:01:40.000 | 1 1 | 2020-12-23 07:15:36 |
| 1642 | 2005-06-16 08:54:15.000 | 3875 3875 | 287 287 | 2005-06-18 12:36:15.000 | 1 1 | 2020-12-23 07:15:41 |
| 2286 | 2005-06-18 07:02:32.000 | 618 618 | 287 287 | 2005-06-27 12:33:32.000 | 1 1 | 2020-12-23 07:15:51 |
| 2612 | 2005-06-19 07:19:41.000 | 1691 1691 | 287 287 | 2005-06-25 11:10:41.000 | 1 1 | 2020-12-23 07:15:56 |
| 4877 | 2005-07-08 19:31:02.000 | 1846 1846 | 287 287 | 2005-07-15 19:05:02.000 | 1 1 | 2020-12-23 07:16:29 |
| 5346 | 2005-07-09 17:29:01.000 | 2488 2488 | 287 287 | 2005-07-14 12:47:01.000 | 2 2 | 2020-12-23 07:16:35 |
| 5593 | 2005-07-10 04:33:13.000 | 702 702 | 287 287 | 2005-07-17 08:44:13.000 | 2 2 | 2020-12-23 07:16:39 |
| 5761 | 2005-07-10 12:45:36.000 | 1763 1763 | 287 287 | 2005-07-13 10:05:36.000 | 2 2 | 2020-12-23 07:16:42 |
| 6379 | 2005-07-11 21:51:25.000 | 522 522 | 287 287 | 2005-07-17 03:38:25.000 | 2 2 | 2020-12-23 07:16:50 |
| 6397 | 2005-07-11 22:34:02.000 | 2423 2423 | 287 287 | 2005-07-13 23:01:02.000 | 1 1 | 2020-12-23 07:16:51 |
| 7402 | 2005-07-27 16:19:40.000 | 2707 2707 | 287 287 | 2005-08-05 14:48:40.000 | 2 2 | 2020-12-23 07:17:06 |
| 7777 | 2005-07-28 07:04:42.000 | 4422 4422 | 287 287 | 2005-07-29 01:57:42.000 | 1 1 | 2020-12-23 07:17:11 |
| 8994 | 2005-07-30 04:51:32.000 | 1527 1527 | 287 287 | 2005-08-07 09:41:32.000 | 1 1 | 2020-12-23 07:17:29 |
| 9716 | 2005-07-31 08:23:53.000 | 3385 3385 | 287 287 | 2005-08-08 12:03:53.000 | 2 2 | 2020-12-23 07:17:40 |
| 10027 | 2005-07-31 18:33:51.000 | 525 525 | 287 287 | 2005-08-09 18:40:51.000 | 1 1 | 2020-12-23 07:17:44 |
| 10574 | 2005-08-01 13:36:51.000 | 679 679 | 287 287 | 2005-08-10 13:25:51.000 | 2 2 | 2020-12-23 07:17:52 |
| 10807 | 2005-08-01 22:26:10.000 | 1673 1673 | 287 287 | 2005-08-05 21:55:10.000 | 1 1 | 2020-12-23 07:17:55 |
| 11106 | 2005-08-02 08:17:38.000 | 2307 2307 | 287 287 | 2005-08-03 07:54:38.000 | 1 1 | 2020-12-23 07:17:59 |
| 11716 | 2005-08-17 07:40:55.000 | 3054 3054 | 287 287 | 2005-08-21 05:56:55.000 | 1 1 | 2020-12-23 07:18:08 |
| 12861 | 2005-08-19 02:30:24.000 | 3115 3115 | 287 287 | 2005-08-22 08:23:24.000 | 1 1 | 2020-12-23 07:18:23 |
| 14204 | 2006-02-14 15:16:03.000 | 4334 4334 | 287 287 | 1 1 | 2020-12-23 07:18:44 | |
| 14715 | 2005-08-21 21:28:18.000 | 4453 4453 | 287 287 | 2005-08-26 22:13:18.000 | 2 2 | 2020-12-23 07:18:51 |
| 15076 | 2005-08-22 11:05:34.000 | 4170 4170 | 287 287 | 2005-08-27 14:40:34.000 | 1 1 | 2020-12-23 07:18:56 |
| 15084 | 2005-08-22 11:17:59.000 | 821 821 | 287 287 | 2005-08-23 09:23:59.000 | 1 1 | 2020-12-23 07:18:56 |
| 15127 | 2005-08-22 12:56:29.000 | 2397 2397 | 287 287 | 2005-08-26 10:58:29.000 | 1 1 | 2020-12-23 07:18:57 |
| 15614 | 2005-08-23 07:05:15.000 | 1216 1216 | 287 287 | 2005-09-01 11:41:15.000 | 1 1 | 2020-12-23 07:19:04 |
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) ;