rental
25 rows where customer_id = 419
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 |
|---|---|---|---|---|---|---|
| 62 | 2005-05-25 09:18:52.000 | 261 261 | 419 419 | 2005-05-30 10:55:52.000 | 1 1 | 2020-12-23 07:15:21 |
| 2793 | 2005-06-19 18:52:37.000 | 732 732 | 419 419 | 2005-06-25 19:45:37.000 | 2 2 | 2020-12-23 07:15:58 |
| 3596 | 2005-07-06 05:03:11.000 | 594 594 | 419 419 | 2005-07-07 05:30:11.000 | 2 2 | 2020-12-23 07:16:09 |
| 3694 | 2005-07-06 10:01:23.000 | 3848 3848 | 419 419 | 2005-07-08 11:44:23.000 | 2 2 | 2020-12-23 07:16:11 |
| 4224 | 2005-07-07 12:24:21.000 | 3659 3659 | 419 419 | 2005-07-10 11:48:21.000 | 1 1 | 2020-12-23 07:16:19 |
| 5333 | 2005-07-09 16:59:38.000 | 2142 2142 | 419 419 | 2005-07-16 17:23:38.000 | 2 2 | 2020-12-23 07:16:35 |
| 5863 | 2005-07-10 18:25:23.000 | 2557 2557 | 419 419 | 2005-07-15 23:49:23.000 | 1 1 | 2020-12-23 07:16:43 |
| 5900 | 2005-07-10 20:21:54.000 | 1081 1081 | 419 419 | 2005-07-17 00:26:54.000 | 1 1 | 2020-12-23 07:16:44 |
| 5933 | 2005-07-10 22:06:48.000 | 4372 4372 | 419 419 | 2005-07-12 23:58:48.000 | 2 2 | 2020-12-23 07:16:44 |
| 6173 | 2005-07-11 10:33:11.000 | 4252 4252 | 419 419 | 2005-07-15 10:57:11.000 | 1 1 | 2020-12-23 07:16:47 |
| 6587 | 2005-07-12 06:56:26.000 | 238 238 | 419 419 | 2005-07-20 05:53:26.000 | 2 2 | 2020-12-23 07:16:53 |
| 7362 | 2005-07-27 14:58:27.000 | 1902 1902 | 419 419 | 2005-08-01 11:51:27.000 | 1 1 | 2020-12-23 07:17:05 |
| 7619 | 2005-07-28 00:25:41.000 | 1057 1057 | 419 419 | 2005-07-30 04:35:41.000 | 2 2 | 2020-12-23 07:17:09 |
| 7796 | 2005-07-28 07:39:39.000 | 622 622 | 419 419 | 2005-08-02 05:34:39.000 | 2 2 | 2020-12-23 07:17:12 |
| 10150 | 2005-07-31 22:22:00.000 | 2328 2328 | 419 419 | 2005-08-05 01:17:00.000 | 2 2 | 2020-12-23 07:17:46 |
| 10372 | 2005-08-01 06:23:48.000 | 635 635 | 419 419 | 2005-08-06 03:47:48.000 | 1 1 | 2020-12-23 07:17:49 |
| 11025 | 2005-08-02 05:39:12.000 | 2253 2253 | 419 419 | 2005-08-08 00:09:12.000 | 2 2 | 2020-12-23 07:17:58 |
| 11313 | 2005-08-02 16:02:51.000 | 2689 2689 | 419 419 | 2005-08-03 14:54:51.000 | 1 1 | 2020-12-23 07:18:02 |
| 11323 | 2005-08-02 16:29:57.000 | 3784 3784 | 419 419 | 2005-08-06 16:01:57.000 | 1 1 | 2020-12-23 07:18:02 |
| 11425 | 2005-08-02 19:58:48.000 | 989 989 | 419 419 | 2005-08-03 19:30:48.000 | 2 2 | 2020-12-23 07:18:04 |
| 11689 | 2005-08-17 06:42:08.000 | 2390 2390 | 419 419 | 2005-08-26 06:09:08.000 | 1 1 | 2020-12-23 07:18:07 |
| 12460 | 2005-08-18 11:25:13.000 | 3550 3550 | 419 419 | 2005-08-27 06:27:13.000 | 2 2 | 2020-12-23 07:18:17 |
| 12720 | 2005-08-18 21:28:42.000 | 2676 2676 | 419 419 | 2005-08-25 18:02:42.000 | 1 1 | 2020-12-23 07:18:21 |
| 14308 | 2005-08-21 07:43:21.000 | 3478 3478 | 419 419 | 2005-08-25 02:39:21.000 | 2 2 | 2020-12-23 07:18:45 |
| 15779 | 2005-08-23 13:33:46.000 | 1560 1560 | 419 419 | 2005-08-28 08:40:46.000 | 2 2 | 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) ;