rental
33 rows where customer_id = 438
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 |
|---|---|---|---|---|---|---|
| 23 | 2005-05-25 02:40:21.000 | 4441 4441 | 438 438 | 2005-05-29 06:34:21.000 | 1 1 | 2020-12-23 07:15:20 |
| 1036 | 2005-05-31 05:21:10.000 | 2164 2164 | 438 438 | 2005-06-04 04:19:10.000 | 1 1 | 2020-12-23 07:15:33 |
| 1138 | 2005-05-31 19:30:27.000 | 3944 3944 | 438 438 | 2005-06-05 21:42:27.000 | 1 1 | 2020-12-23 07:15:35 |
| 1431 | 2005-06-15 18:26:29.000 | 3193 3193 | 438 438 | 2005-06-21 17:33:29.000 | 1 1 | 2020-12-23 07:15:39 |
| 1779 | 2005-06-16 18:55:11.000 | 1044 1044 | 438 438 | 2005-06-17 20:11:11.000 | 1 1 | 2020-12-23 07:15:43 |
| 2206 | 2005-06-18 02:14:45.000 | 3651 3651 | 438 438 | 2005-06-24 23:20:45.000 | 2 2 | 2020-12-23 07:15:50 |
| 2591 | 2005-06-19 05:32:22.000 | 4481 4481 | 438 438 | 2005-06-25 23:42:22.000 | 1 1 | 2020-12-23 07:15:55 |
| 3315 | 2005-06-21 08:17:04.000 | 4108 4108 | 438 438 | 2005-06-24 11:04:04.000 | 1 1 | 2020-12-23 07:16:05 |
| 3368 | 2005-06-21 13:18:38.000 | 548 548 | 438 438 | 2005-06-23 11:13:38.000 | 1 1 | 2020-12-23 07:16:06 |
| 4355 | 2005-07-07 19:21:19.000 | 4557 4557 | 438 438 | 2005-07-09 00:55:19.000 | 2 2 | 2020-12-23 07:16:21 |
| 4446 | 2005-07-07 23:12:16.000 | 2629 2629 | 438 438 | 2005-07-13 19:42:16.000 | 1 1 | 2020-12-23 07:16:22 |
| 5316 | 2005-07-09 16:09:42.000 | 3856 3856 | 438 438 | 2005-07-11 15:20:42.000 | 1 1 | 2020-12-23 07:16:35 |
| 5426 | 2005-07-09 21:04:47.000 | 251 251 | 438 438 | 2005-07-17 00:55:47.000 | 1 1 | 2020-12-23 07:16:37 |
| 5870 | 2005-07-10 18:40:25.000 | 1524 1524 | 438 438 | 2005-07-12 15:39:25.000 | 2 2 | 2020-12-23 07:16:43 |
| 6138 | 2005-07-11 08:36:04.000 | 1808 1808 | 438 438 | 2005-07-13 10:30:04.000 | 2 2 | 2020-12-23 07:16:47 |
| 6563 | 2005-07-12 05:34:09.000 | 87 87 | 438 438 | 2005-07-21 07:37:09.000 | 1 1 | 2020-12-23 07:16:53 |
| 6615 | 2005-07-12 08:36:22.000 | 23 23 | 438 438 | 2005-07-20 09:03:22.000 | 1 1 | 2020-12-23 07:16:54 |
| 7357 | 2005-07-27 14:48:31.000 | 1917 1917 | 438 438 | 2005-08-02 18:07:31.000 | 2 2 | 2020-12-23 07:17:05 |
| 7374 | 2005-07-27 15:20:57.000 | 3184 3184 | 438 438 | 2005-08-05 13:09:57.000 | 2 2 | 2020-12-23 07:17:05 |
| 7598 | 2005-07-27 23:36:01.000 | 4545 4545 | 438 438 | 2005-07-29 23:35:01.000 | 2 2 | 2020-12-23 07:17:09 |
| 8547 | 2005-07-29 11:10:15.000 | 875 875 | 438 438 | 2005-08-03 12:50:15.000 | 1 1 | 2020-12-23 07:17:23 |
| 9082 | 2005-07-30 08:11:22.000 | 4042 4042 | 438 438 | 2005-08-06 09:26:22.000 | 2 2 | 2020-12-23 07:17:30 |
| 9782 | 2005-07-31 10:14:26.000 | 2397 2397 | 438 438 | 2005-08-06 16:11:26.000 | 1 1 | 2020-12-23 07:17:41 |
| 10512 | 2005-08-01 11:36:19.000 | 3294 3294 | 438 438 | 2005-08-09 06:52:19.000 | 2 2 | 2020-12-23 07:17:51 |
| 10607 | 2005-08-01 14:44:43.000 | 3999 3999 | 438 438 | 2005-08-02 16:39:43.000 | 2 2 | 2020-12-23 07:17:52 |
| 11644 | 2005-08-17 04:49:46.000 | 1760 1760 | 438 438 | 2005-08-24 08:49:46.000 | 1 1 | 2020-12-23 07:18:07 |
| 11933 | 2005-08-17 16:38:20.000 | 2574 2574 | 438 438 | 2005-08-22 14:31:20.000 | 1 1 | 2020-12-23 07:18:10 |
| 12524 | 2006-02-14 15:16:03.000 | 857 857 | 438 438 | 1 1 | 2020-12-23 07:18:18 | |
| 12654 | 2005-08-18 18:56:40.000 | 2217 2217 | 438 438 | 2005-08-20 17:51:40.000 | 2 2 | 2020-12-23 07:18:20 |
| 13319 | 2005-08-19 19:35:13.000 | 2496 2496 | 438 438 | 2005-08-27 17:59:13.000 | 1 1 | 2020-12-23 07:18:30 |
| 13414 | 2005-08-19 22:47:34.000 | 4126 4126 | 438 438 | 2005-08-21 02:50:34.000 | 1 1 | 2020-12-23 07:18:31 |
| 14582 | 2005-08-21 17:08:33.000 | 1004 1004 | 438 438 | 2005-08-29 18:04:33.000 | 2 2 | 2020-12-23 07:18:49 |
| 15893 | 2005-08-23 17:02:00.000 | 2571 2571 | 438 438 | 2005-08-30 12:45:00.000 | 2 2 | 2020-12-23 07:19:08 |
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) ;