rental
30 rows where customer_id = 436
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 |
|---|---|---|---|---|---|---|
| 45 | 2005-05-25 05:59:39.000 | 1853 1853 | 436 436 | 2005-06-02 09:56:39.000 | 2 2 | 2020-12-23 07:15:20 |
| 256 | 2005-05-26 15:20:58.000 | 3194 3194 | 436 436 | 2005-05-31 15:58:58.000 | 1 1 | 2020-12-23 07:15:23 |
| 848 | 2005-05-30 01:19:53.000 | 1363 1363 | 436 436 | 2005-06-05 23:40:53.000 | 1 1 | 2020-12-23 07:15:31 |
| 2291 | 2005-06-18 07:36:46.000 | 3949 3949 | 436 436 | 2005-06-26 04:57:46.000 | 2 2 | 2020-12-23 07:15:51 |
| 3851 | 2005-07-06 16:54:12.000 | 493 493 | 436 436 | 2005-07-11 22:49:12.000 | 1 1 | 2020-12-23 07:16:13 |
| 3944 | 2005-07-06 21:34:11.000 | 4213 4213 | 436 436 | 2005-07-08 23:46:11.000 | 2 2 | 2020-12-23 07:16:15 |
| 4643 | 2005-07-08 09:13:56.000 | 239 239 | 436 436 | 2005-07-10 12:09:56.000 | 2 2 | 2020-12-23 07:16:25 |
| 4751 | 2005-07-08 14:07:52.000 | 3469 3469 | 436 436 | 2005-07-13 10:37:52.000 | 2 2 | 2020-12-23 07:16:27 |
| 4782 | 2005-07-08 16:08:51.000 | 445 445 | 436 436 | 2005-07-17 17:56:51.000 | 1 1 | 2020-12-23 07:16:27 |
| 5959 | 2005-07-10 23:35:36.000 | 3169 3169 | 436 436 | 2005-07-13 02:19:36.000 | 1 1 | 2020-12-23 07:16:45 |
| 7593 | 2005-07-27 23:28:47.000 | 1158 1158 | 436 436 | 2005-08-02 19:51:47.000 | 1 1 | 2020-12-23 07:17:09 |
| 8027 | 2005-07-28 16:09:57.000 | 1335 1335 | 436 436 | 2005-08-05 18:17:57.000 | 1 1 | 2020-12-23 07:17:15 |
| 8097 | 2005-07-28 18:32:49.000 | 2719 2719 | 436 436 | 2005-08-06 16:09:49.000 | 1 1 | 2020-12-23 07:17:16 |
| 9345 | 2005-07-30 18:13:51.000 | 2042 2042 | 436 436 | 2005-08-07 13:45:51.000 | 2 2 | 2020-12-23 07:17:34 |
| 9539 | 2005-07-31 01:36:19.000 | 3793 3793 | 436 436 | 2005-08-04 23:47:19.000 | 1 1 | 2020-12-23 07:17:37 |
| 9638 | 2005-07-31 05:30:27.000 | 1616 1616 | 436 436 | 2005-08-09 02:04:27.000 | 1 1 | 2020-12-23 07:17:38 |
| 10216 | 2005-08-01 01:06:27.000 | 3603 3603 | 436 436 | 2005-08-08 22:41:27.000 | 2 2 | 2020-12-23 07:17:47 |
| 11160 | 2005-08-02 10:05:30.000 | 3260 3260 | 436 436 | 2005-08-07 08:30:30.000 | 1 1 | 2020-12-23 07:18:00 |
| 11580 | 2005-08-17 01:59:07.000 | 1346 1346 | 436 436 | 2005-08-21 06:18:07.000 | 2 2 | 2020-12-23 07:18:06 |
| 11615 | 2005-08-17 03:54:35.000 | 4331 4331 | 436 436 | 2005-08-23 06:54:35.000 | 2 2 | 2020-12-23 07:18:06 |
| 11896 | 2005-08-17 15:19:54.000 | 259 259 | 436 436 | 2005-08-24 18:22:54.000 | 2 2 | 2020-12-23 07:18:10 |
| 12297 | 2005-08-18 05:19:57.000 | 903 903 | 436 436 | 2005-08-21 00:53:57.000 | 1 1 | 2020-12-23 07:18:15 |
| 12429 | 2005-08-18 10:26:46.000 | 2994 2994 | 436 436 | 2005-08-27 13:23:46.000 | 1 1 | 2020-12-23 07:18:17 |
| 13099 | 2005-08-19 10:55:19.000 | 969 969 | 436 436 | 2005-08-27 10:54:19.000 | 1 1 | 2020-12-23 07:18:27 |
| 13382 | 2005-08-19 21:38:41.000 | 3720 3720 | 436 436 | 2005-08-28 15:49:41.000 | 1 1 | 2020-12-23 07:18:31 |
| 13533 | 2005-08-20 03:30:00.000 | 1801 1801 | 436 436 | 2005-08-27 05:53:00.000 | 1 1 | 2020-12-23 07:18:33 |
| 13760 | 2005-08-20 11:26:33.000 | 3459 3459 | 436 436 | 2005-08-27 11:12:33.000 | 2 2 | 2020-12-23 07:18:37 |
| 13814 | 2005-08-20 13:07:23.000 | 2129 2129 | 436 436 | 2005-08-22 16:23:23.000 | 2 2 | 2020-12-23 07:18:38 |
| 13826 | 2005-08-20 13:46:38.000 | 401 401 | 436 436 | 2005-08-29 13:07:38.000 | 1 1 | 2020-12-23 07:18:38 |
| 15766 | 2005-08-23 13:10:16.000 | 1996 1996 | 436 436 | 2005-08-30 09:27:16.000 | 1 1 | 2020-12-23 07:19:06 |
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) ;