rental
26 rows where customer_id = 261
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 |
|---|---|---|---|---|---|---|
| 12 | 2005-05-25 00:19:27.000 | 1584 1584 | 261 261 | 2005-05-30 05:44:27.000 | 2 2 | 2020-12-23 07:15:20 |
| 465 | 2005-05-27 20:44:36.000 | 20 20 | 261 261 | 2005-06-02 02:43:36.000 | 1 1 | 2020-12-23 07:15:26 |
| 542 | 2005-05-28 06:42:13.000 | 4444 4444 | 261 261 | 2005-06-03 09:05:13.000 | 1 1 | 2020-12-23 07:15:27 |
| 792 | 2005-05-29 16:32:10.000 | 2841 2841 | 261 261 | 2005-05-31 18:01:10.000 | 1 1 | 2020-12-23 07:15:30 |
| 1760 | 2005-06-16 17:48:37.000 | 3929 3929 | 261 261 | 2005-06-18 16:01:37.000 | 2 2 | 2020-12-23 07:15:43 |
| 1877 | 2005-06-17 02:54:16.000 | 3404 3404 | 261 261 | 2005-06-25 21:51:16.000 | 2 2 | 2020-12-23 07:15:45 |
| 1988 | 2005-06-17 10:42:34.000 | 3054 3054 | 261 261 | 2005-06-25 11:47:34.000 | 2 2 | 2020-12-23 07:15:47 |
| 2072 | 2005-06-17 16:33:32.000 | 86 86 | 261 261 | 2005-06-23 13:22:32.000 | 1 1 | 2020-12-23 07:15:48 |
| 2392 | 2005-06-18 15:34:18.000 | 2213 2213 | 261 261 | 2005-06-19 16:22:18.000 | 1 1 | 2020-12-23 07:15:52 |
| 3363 | 2005-06-21 12:25:07.000 | 538 538 | 261 261 | 2005-06-27 11:52:07.000 | 2 2 | 2020-12-23 07:16:06 |
| 5122 | 2005-07-09 07:19:35.000 | 1423 1423 | 261 261 | 2005-07-16 03:04:35.000 | 2 2 | 2020-12-23 07:16:32 |
| 5449 | 2005-07-09 22:12:01.000 | 921 921 | 261 261 | 2005-07-18 01:18:01.000 | 2 2 | 2020-12-23 07:16:37 |
| 6515 | 2005-07-12 03:50:32.000 | 706 706 | 261 261 | 2005-07-15 03:54:32.000 | 2 2 | 2020-12-23 07:16:52 |
| 6743 | 2005-07-12 14:29:25.000 | 158 158 | 261 261 | 2005-07-13 13:13:25.000 | 1 1 | 2020-12-23 07:16:56 |
| 9552 | 2005-07-31 02:05:32.000 | 3544 3544 | 261 261 | 2005-08-01 06:59:32.000 | 1 1 | 2020-12-23 07:17:37 |
| 9842 | 2005-07-31 12:24:58.000 | 2896 2896 | 261 261 | 2005-08-02 11:01:58.000 | 2 2 | 2020-12-23 07:17:42 |
| 9869 | 2005-07-31 13:21:54.000 | 783 783 | 261 261 | 2005-08-07 09:09:54.000 | 1 1 | 2020-12-23 07:17:42 |
| 10246 | 2005-08-01 02:29:50.000 | 3598 3598 | 261 261 | 2005-08-09 01:17:50.000 | 2 2 | 2020-12-23 07:17:47 |
| 11834 | 2005-08-17 13:00:40.000 | 2407 2407 | 261 261 | 2005-08-22 12:50:40.000 | 1 1 | 2020-12-23 07:18:09 |
| 11928 | 2005-08-17 16:28:24.000 | 79 79 | 261 261 | 2005-08-23 17:50:24.000 | 2 2 | 2020-12-23 07:18:10 |
| 12327 | 2005-08-18 06:43:22.000 | 2425 2425 | 261 261 | 2005-08-25 10:50:22.000 | 2 2 | 2020-12-23 07:18:16 |
| 13245 | 2005-08-19 16:43:41.000 | 1001 1001 | 261 261 | 2005-08-20 21:17:41.000 | 1 1 | 2020-12-23 07:18:29 |
| 13506 | 2005-08-20 02:07:06.000 | 1334 1334 | 261 261 | 2005-08-26 08:06:06.000 | 1 1 | 2020-12-23 07:18:33 |
| 13669 | 2005-08-20 08:26:32.000 | 4504 4504 | 261 261 | 2005-08-27 08:10:32.000 | 2 2 | 2020-12-23 07:18:35 |
| 13849 | 2005-08-20 14:42:34.000 | 3774 3774 | 261 261 | 2005-08-24 13:09:34.000 | 2 2 | 2020-12-23 07:18:38 |
| 15397 | 2005-08-22 23:08:46.000 | 1482 1482 | 261 261 | 2005-08-25 20:58:46.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) ;