rental
25 rows where customer_id = 590
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 |
|---|---|---|---|---|---|---|
| 602 | 2005-05-28 14:15:54.000 | 1300 1300 | 590 590 | 2005-06-05 15:16:54.000 | 2 2 | 2020-12-23 07:15:27 |
| 1456 | 2005-06-15 20:00:11.000 | 632 632 | 590 590 | 2005-06-23 18:03:11.000 | 2 2 | 2020-12-23 07:15:39 |
| 2352 | 2005-06-18 12:40:15.000 | 2141 2141 | 590 590 | 2005-06-22 07:07:15.000 | 2 2 | 2020-12-23 07:15:52 |
| 2775 | 2005-06-19 18:14:20.000 | 672 672 | 590 590 | 2005-06-26 19:52:20.000 | 1 1 | 2020-12-23 07:15:58 |
| 2916 | 2005-06-20 04:01:04.000 | 3086 3086 | 590 590 | 2005-06-27 22:40:04.000 | 2 2 | 2020-12-23 07:16:00 |
| 2964 | 2005-06-20 07:33:29.000 | 1201 1201 | 590 590 | 2005-06-29 12:48:29.000 | 1 1 | 2020-12-23 07:16:00 |
| 4685 | 2005-07-08 10:45:13.000 | 602 602 | 590 590 | 2005-07-12 08:29:13.000 | 1 1 | 2020-12-23 07:16:26 |
| 4710 | 2005-07-08 12:04:53.000 | 248 248 | 590 590 | 2005-07-13 11:28:53.000 | 2 2 | 2020-12-23 07:16:26 |
| 4722 | 2005-07-08 12:42:27.000 | 3738 3738 | 590 590 | 2005-07-09 09:14:27.000 | 2 2 | 2020-12-23 07:16:26 |
| 5165 | 2005-07-09 09:08:53.000 | 280 280 | 590 590 | 2005-07-14 06:01:53.000 | 1 1 | 2020-12-23 07:16:33 |
| 5529 | 2005-07-10 02:11:13.000 | 1652 1652 | 590 590 | 2005-07-15 06:56:13.000 | 2 2 | 2020-12-23 07:16:38 |
| 5991 | 2005-07-11 01:03:38.000 | 3623 3623 | 590 590 | 2005-07-12 22:32:38.000 | 2 2 | 2020-12-23 07:16:45 |
| 6232 | 2005-07-11 14:08:27.000 | 2492 2492 | 590 590 | 2005-07-20 19:34:27.000 | 2 2 | 2020-12-23 07:16:48 |
| 6492 | 2005-07-12 02:28:40.000 | 466 466 | 590 590 | 2005-07-17 05:58:40.000 | 2 2 | 2020-12-23 07:16:52 |
| 7010 | 2005-07-27 01:56:01.000 | 3016 3016 | 590 590 | 2005-07-30 04:40:01.000 | 1 1 | 2020-12-23 07:17:00 |
| 7665 | 2005-07-28 02:28:30.000 | 1455 1455 | 590 590 | 2005-07-31 20:42:30.000 | 1 1 | 2020-12-23 07:17:10 |
| 8195 | 2005-07-28 22:52:58.000 | 3989 3989 | 590 590 | 2005-08-04 02:12:58.000 | 1 1 | 2020-12-23 07:17:17 |
| 8801 | 2005-07-29 21:25:22.000 | 1111 1111 | 590 590 | 2005-08-01 00:02:22.000 | 1 1 | 2020-12-23 07:17:26 |
| 9126 | 2005-07-30 09:44:15.000 | 4495 4495 | 590 590 | 2005-08-02 11:02:15.000 | 2 2 | 2020-12-23 07:17:31 |
| 9884 | 2005-07-31 13:56:24.000 | 511 511 | 590 590 | 2005-08-01 16:59:24.000 | 1 1 | 2020-12-23 07:17:42 |
| 10657 | 2005-08-01 16:38:44.000 | 3075 3075 | 590 590 | 2005-08-06 16:05:44.000 | 2 2 | 2020-12-23 07:17:53 |
| 11578 | 2005-08-17 01:54:13.000 | 192 192 | 590 590 | 2005-08-26 02:00:13.000 | 2 2 | 2020-12-23 07:18:06 |
| 11713 | 2005-08-17 07:34:05.000 | 1919 1919 | 590 590 | 2005-08-25 07:49:05.000 | 1 1 | 2020-12-23 07:18:08 |
| 14830 | 2005-08-22 01:37:19.000 | 637 637 | 590 590 | 2005-08-27 20:10:19.000 | 1 1 | 2020-12-23 07:18:52 |
| 15458 | 2006-02-14 15:16:03.000 | 25 25 | 590 590 | 2 2 | 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) ;