rental
30 rows where customer_id = 72
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 |
|---|---|---|---|---|---|---|
| 785 | 2005-05-29 15:08:41.000 | 39 39 | 72 72 | 2005-05-30 15:51:41.000 | 1 1 | 2020-12-23 07:15:30 |
| 845 | 2005-05-30 01:17:25.000 | 2001 2001 | 72 72 | 2005-06-07 02:00:25.000 | 1 1 | 2020-12-23 07:15:31 |
| 1047 | 2005-05-31 06:45:57.000 | 1366 1366 | 72 72 | 2005-06-04 09:49:57.000 | 2 2 | 2020-12-23 07:15:34 |
| 2294 | 2005-06-18 07:46:34.000 | 2096 2096 | 72 72 | 2005-06-22 12:34:34.000 | 2 2 | 2020-12-23 07:15:51 |
| 3700 | 2005-07-06 10:12:19.000 | 343 343 | 72 72 | 2005-07-07 14:21:19.000 | 2 2 | 2020-12-23 07:16:11 |
| 5223 | 2005-07-09 12:06:03.000 | 2335 2335 | 72 72 | 2005-07-17 15:50:03.000 | 1 1 | 2020-12-23 07:16:34 |
| 5302 | 2005-07-09 15:42:36.000 | 4270 4270 | 72 72 | 2005-07-10 21:04:36.000 | 2 2 | 2020-12-23 07:16:35 |
| 5424 | 2005-07-09 20:59:09.000 | 3694 3694 | 72 72 | 2005-07-12 00:05:09.000 | 2 2 | 2020-12-23 07:16:37 |
| 5840 | 2005-07-10 17:09:09.000 | 1073 1073 | 72 72 | 2005-07-15 22:52:09.000 | 1 1 | 2020-12-23 07:16:43 |
| 6081 | 2005-07-11 05:11:09.000 | 2286 2286 | 72 72 | 2005-07-13 05:33:09.000 | 2 2 | 2020-12-23 07:16:46 |
| 8228 | 2005-07-29 00:08:58.000 | 1955 1955 | 72 72 | 2005-08-03 00:12:58.000 | 2 2 | 2020-12-23 07:17:18 |
| 9027 | 2005-07-30 05:58:27.000 | 449 449 | 72 72 | 2005-08-03 03:02:27.000 | 1 1 | 2020-12-23 07:17:30 |
| 9420 | 2005-07-30 21:05:18.000 | 147 147 | 72 72 | 2005-08-05 23:52:18.000 | 2 2 | 2020-12-23 07:17:35 |
| 9648 | 2005-07-31 05:46:03.000 | 4063 4063 | 72 72 | 2005-08-09 04:36:03.000 | 2 2 | 2020-12-23 07:17:39 |
| 10267 | 2005-08-01 03:07:26.000 | 3883 3883 | 72 72 | 2005-08-07 22:49:26.000 | 1 1 | 2020-12-23 07:17:47 |
| 11206 | 2005-08-02 11:58:03.000 | 4131 4131 | 72 72 | 2005-08-07 12:36:03.000 | 2 2 | 2020-12-23 07:18:00 |
| 11422 | 2005-08-02 19:52:08.000 | 342 342 | 72 72 | 2005-08-11 18:40:08.000 | 2 2 | 2020-12-23 07:18:04 |
| 11630 | 2005-08-17 04:27:46.000 | 688 688 | 72 72 | 2005-08-19 09:58:46.000 | 2 2 | 2020-12-23 07:18:06 |
| 11679 | 2005-08-17 06:08:54.000 | 3337 3337 | 72 72 | 2005-08-21 07:50:54.000 | 1 1 | 2020-12-23 07:18:07 |
| 11923 | 2005-08-17 16:21:47.000 | 1907 1907 | 72 72 | 2005-08-18 14:26:47.000 | 2 2 | 2020-12-23 07:18:10 |
| 12020 | 2005-08-17 19:50:33.000 | 3258 3258 | 72 72 | 2005-08-25 17:54:33.000 | 1 1 | 2020-12-23 07:18:12 |
| 12448 | 2005-08-18 10:59:04.000 | 3889 3889 | 72 72 | 2005-08-21 06:45:04.000 | 2 2 | 2020-12-23 07:18:17 |
| 12593 | 2005-08-18 16:17:54.000 | 4092 4092 | 72 72 | 2005-08-21 18:02:54.000 | 2 2 | 2020-12-23 07:18:19 |
| 13145 | 2005-08-19 12:53:53.000 | 1383 1383 | 72 72 | 2005-08-23 08:06:53.000 | 1 1 | 2020-12-23 07:18:27 |
| 13327 | 2005-08-19 19:55:45.000 | 1808 1808 | 72 72 | 2005-08-22 15:05:45.000 | 2 2 | 2020-12-23 07:18:30 |
| 13597 | 2005-08-20 05:59:05.000 | 3697 3697 | 72 72 | 2005-08-24 05:38:05.000 | 2 2 | 2020-12-23 07:18:34 |
| 13660 | 2005-08-20 08:05:56.000 | 3972 3972 | 72 72 | 2005-08-22 13:22:56.000 | 1 1 | 2020-12-23 07:18:35 |
| 14020 | 2005-08-20 20:59:43.000 | 2257 2257 | 72 72 | 2005-08-23 17:11:43.000 | 2 2 | 2020-12-23 07:18:41 |
| 15110 | 2005-08-22 12:16:46.000 | 1379 1379 | 72 72 | 2005-08-26 13:36:46.000 | 1 1 | 2020-12-23 07:18:56 |
| 15146 | 2005-08-22 13:57:55.000 | 3102 3102 | 72 72 | 2005-08-28 12:57:55.000 | 2 2 | 2020-12-23 07:18:57 |
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) ;