rental
33 rows where customer_id = 64
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 |
|---|---|---|---|---|---|---|
| 494 | 2005-05-28 00:39:31.000 | 1850 1850 | 64 64 | 2005-06-02 19:35:31.000 | 1 1 | 2020-12-23 07:15:26 |
| 587 | 2005-05-28 12:05:33.000 | 1413 1413 | 64 64 | 2005-05-30 13:45:33.000 | 2 2 | 2020-12-23 07:15:27 |
| 1001 | 2005-05-31 00:46:31.000 | 1498 1498 | 64 64 | 2005-06-06 06:14:31.000 | 2 2 | 2020-12-23 07:15:33 |
| 1335 | 2005-06-15 11:51:30.000 | 1713 1713 | 64 64 | 2005-06-16 16:42:30.000 | 2 2 | 2020-12-23 07:15:37 |
| 2060 | 2005-06-17 15:42:42.000 | 1523 1523 | 64 64 | 2005-06-22 16:39:42.000 | 1 1 | 2020-12-23 07:15:48 |
| 3982 | 2005-07-06 23:14:16.000 | 4327 4327 | 64 64 | 2005-07-08 21:21:16.000 | 2 2 | 2020-12-23 07:16:15 |
| 4288 | 2005-07-07 15:38:25.000 | 1508 1508 | 64 64 | 2005-07-13 16:23:25.000 | 2 2 | 2020-12-23 07:16:20 |
| 4690 | 2005-07-08 11:04:02.000 | 3304 3304 | 64 64 | 2005-07-15 10:27:02.000 | 2 2 | 2020-12-23 07:16:26 |
| 4819 | 2005-07-08 17:19:15.000 | 1342 1342 | 64 64 | 2005-07-16 14:32:15.000 | 1 1 | 2020-12-23 07:16:28 |
| 4971 | 2005-07-08 23:54:49.000 | 460 460 | 64 64 | 2005-07-16 00:15:49.000 | 1 1 | 2020-12-23 07:16:30 |
| 5114 | 2005-07-09 07:07:05.000 | 3734 3734 | 64 64 | 2005-07-15 03:06:05.000 | 1 1 | 2020-12-23 07:16:32 |
| 5279 | 2005-07-09 14:46:36.000 | 709 709 | 64 64 | 2005-07-17 10:04:36.000 | 2 2 | 2020-12-23 07:16:35 |
| 5432 | 2005-07-09 21:21:25.000 | 1958 1958 | 64 64 | 2005-07-14 21:34:25.000 | 2 2 | 2020-12-23 07:16:37 |
| 6372 | 2005-07-11 21:35:06.000 | 741 741 | 64 64 | 2005-07-15 02:30:06.000 | 2 2 | 2020-12-23 07:16:50 |
| 6457 | 2005-07-12 01:06:35.000 | 2970 2970 | 64 64 | 2005-07-14 03:27:35.000 | 1 1 | 2020-12-23 07:16:51 |
| 6698 | 2005-07-12 12:45:00.000 | 4419 4419 | 64 64 | 2005-07-16 11:16:00.000 | 2 2 | 2020-12-23 07:16:55 |
| 6744 | 2005-07-12 14:30:28.000 | 2565 2565 | 64 64 | 2005-07-14 16:20:28.000 | 1 1 | 2020-12-23 07:16:56 |
| 7045 | 2005-07-27 03:27:35.000 | 1788 1788 | 64 64 | 2005-08-01 06:31:35.000 | 2 2 | 2020-12-23 07:17:00 |
| 7082 | 2005-07-27 04:27:32.000 | 2032 2032 | 64 64 | 2005-07-30 06:06:32.000 | 2 2 | 2020-12-23 07:17:01 |
| 7476 | 2005-07-27 19:08:56.000 | 2288 2288 | 64 64 | 2005-07-31 16:36:56.000 | 2 2 | 2020-12-23 07:17:07 |
| 8602 | 2005-07-29 13:04:27.000 | 4002 4002 | 64 64 | 2005-08-03 12:21:27.000 | 2 2 | 2020-12-23 07:17:23 |
| 9832 | 2005-07-31 12:01:49.000 | 3126 3126 | 64 64 | 2005-08-08 09:21:49.000 | 1 1 | 2020-12-23 07:17:41 |
| 9880 | 2005-07-31 13:49:02.000 | 3590 3590 | 64 64 | 2005-08-08 10:31:02.000 | 2 2 | 2020-12-23 07:17:42 |
| 9924 | 2005-07-31 15:04:57.000 | 1986 1986 | 64 64 | 2005-08-05 20:07:57.000 | 2 2 | 2020-12-23 07:17:43 |
| 10185 | 2005-08-01 00:12:11.000 | 1266 1266 | 64 64 | 2005-08-03 03:03:11.000 | 1 1 | 2020-12-23 07:17:46 |
| 10714 | 2005-08-01 18:51:29.000 | 1465 1465 | 64 64 | 2005-08-04 18:49:29.000 | 2 2 | 2020-12-23 07:17:54 |
| 10889 | 2005-08-02 00:54:33.000 | 2098 2098 | 64 64 | 2005-08-07 19:42:33.000 | 1 1 | 2020-12-23 07:17:56 |
| 12409 | 2005-08-18 09:43:58.000 | 2568 2568 | 64 64 | 2005-08-19 15:02:58.000 | 2 2 | 2020-12-23 07:18:17 |
| 13333 | 2006-02-14 15:16:03.000 | 1092 1092 | 64 64 | 2 2 | 2020-12-23 07:18:30 | |
| 13773 | 2005-08-20 11:50:14.000 | 3389 3389 | 64 64 | 2005-08-26 12:35:14.000 | 1 1 | 2020-12-23 07:18:37 |
| 13971 | 2005-08-20 18:44:53.000 | 1678 1678 | 64 64 | 2005-08-22 16:25:53.000 | 2 2 | 2020-12-23 07:18:40 |
| 14167 | 2005-08-21 02:59:48.000 | 1005 1005 | 64 64 | 2005-08-29 22:17:48.000 | 1 1 | 2020-12-23 07:18:43 |
| 14316 | 2005-08-21 07:59:47.000 | 386 386 | 64 64 | 2005-08-23 02:20:47.000 | 2 2 | 2020-12-23 07:18:45 |
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) ;