rental
23 rows where customer_id = 437
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 |
|---|---|---|---|---|---|---|
| 192 | 2005-05-26 06:20:37.000 | 1897 1897 | 437 437 | 2005-06-02 10:57:37.000 | 1 1 | 2020-12-23 07:15:22 |
| 656 | 2005-05-28 20:18:24.000 | 2846 2846 | 437 437 | 2005-05-30 16:19:24.000 | 1 1 | 2020-12-23 07:15:28 |
| 666 | 2005-05-28 21:48:51.000 | 3075 3075 | 437 437 | 2005-06-05 16:45:51.000 | 2 2 | 2020-12-23 07:15:28 |
| 2239 | 2005-06-18 04:23:54.000 | 4419 4419 | 437 437 | 2005-06-26 00:12:54.000 | 2 2 | 2020-12-23 07:15:50 |
| 2792 | 2005-06-19 18:52:25.000 | 3057 3057 | 437 437 | 2005-06-23 17:39:25.000 | 1 1 | 2020-12-23 07:15:58 |
| 3265 | 2005-06-21 04:23:13.000 | 3637 3637 | 437 437 | 2005-06-28 03:37:13.000 | 1 1 | 2020-12-23 07:16:04 |
| 3747 | 2005-07-06 12:11:14.000 | 1093 1093 | 437 437 | 2005-07-09 17:14:14.000 | 2 2 | 2020-12-23 07:16:12 |
| 4765 | 2005-07-08 15:08:45.000 | 469 469 | 437 437 | 2005-07-13 10:44:45.000 | 1 1 | 2020-12-23 07:16:27 |
| 5085 | 2005-07-09 05:36:49.000 | 4164 4164 | 437 437 | 2005-07-13 09:26:49.000 | 1 1 | 2020-12-23 07:16:32 |
| 5167 | 2005-07-09 09:18:43.000 | 2485 2485 | 437 437 | 2005-07-14 12:59:43.000 | 2 2 | 2020-12-23 07:16:33 |
| 5744 | 2005-07-10 12:08:33.000 | 1372 1372 | 437 437 | 2005-07-14 12:34:33.000 | 2 2 | 2020-12-23 07:16:41 |
| 5864 | 2005-07-10 18:29:57.000 | 4380 4380 | 437 437 | 2005-07-19 14:27:57.000 | 2 2 | 2020-12-23 07:16:43 |
| 8215 | 2005-07-28 23:43:56.000 | 2921 2921 | 437 437 | 2005-08-03 19:30:56.000 | 2 2 | 2020-12-23 07:17:18 |
| 9172 | 2005-07-30 11:36:38.000 | 695 695 | 437 437 | 2005-08-04 09:39:38.000 | 1 1 | 2020-12-23 07:17:32 |
| 9333 | 2005-07-30 17:53:45.000 | 1377 1377 | 437 437 | 2005-07-31 22:35:45.000 | 2 2 | 2020-12-23 07:17:34 |
| 10009 | 2005-07-31 18:00:28.000 | 4441 4441 | 437 437 | 2005-08-08 22:24:28.000 | 2 2 | 2020-12-23 07:17:44 |
| 10249 | 2005-08-01 02:35:39.000 | 135 135 | 437 437 | 2005-08-06 06:50:39.000 | 1 1 | 2020-12-23 07:17:47 |
| 11417 | 2005-08-02 19:44:46.000 | 3083 3083 | 437 437 | 2005-08-11 21:43:46.000 | 2 2 | 2020-12-23 07:18:03 |
| 12205 | 2005-08-18 02:21:08.000 | 774 774 | 437 437 | 2005-08-27 00:08:08.000 | 2 2 | 2020-12-23 07:18:14 |
| 13838 | 2005-08-20 14:22:46.000 | 1134 1134 | 437 437 | 2005-08-29 12:28:46.000 | 2 2 | 2020-12-23 07:18:38 |
| 13839 | 2005-08-20 14:23:16.000 | 1056 1056 | 437 437 | 2005-08-26 19:11:16.000 | 2 2 | 2020-12-23 07:18:38 |
| 13905 | 2005-08-20 16:12:48.000 | 2714 2714 | 437 437 | 2005-08-28 16:05:48.000 | 1 1 | 2020-12-23 07:18:39 |
| 14993 | 2005-08-22 07:52:18.000 | 3416 3416 | 437 437 | 2005-08-27 02:13:18.000 | 1 1 | 2020-12-23 07:18:55 |
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) ;