rental
31 rows where customer_id = 446
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 |
|---|---|---|---|---|---|---|
| 14 | 2005-05-25 00:31:15.000 | 2701 2701 | 446 446 | 2005-05-26 02:56:15.000 | 1 1 | 2020-12-23 07:15:20 |
| 236 | 2005-05-26 11:53:49.000 | 1265 1265 | 446 446 | 2005-05-28 13:55:49.000 | 1 1 | 2020-12-23 07:15:23 |
| 355 | 2005-05-27 06:15:33.000 | 141 141 | 446 446 | 2005-06-01 02:50:33.000 | 2 2 | 2020-12-23 07:15:24 |
| 2248 | 2005-06-18 04:59:48.000 | 1999 1999 | 446 446 | 2005-06-19 08:51:48.000 | 2 2 | 2020-12-23 07:15:50 |
| 2335 | 2005-06-18 10:59:36.000 | 3968 3968 | 446 446 | 2005-06-26 06:42:36.000 | 2 2 | 2020-12-23 07:15:52 |
| 2520 | 2005-06-19 00:29:00.000 | 4181 4181 | 446 446 | 2005-06-28 04:36:00.000 | 1 1 | 2020-12-23 07:15:54 |
| 2710 | 2005-06-19 14:03:56.000 | 2965 2965 | 446 446 | 2005-06-21 16:15:56.000 | 1 1 | 2020-12-23 07:15:57 |
| 3060 | 2005-06-20 13:47:20.000 | 2075 2075 | 446 446 | 2005-06-25 16:00:20.000 | 2 2 | 2020-12-23 07:16:02 |
| 3168 | 2005-06-20 21:46:01.000 | 2407 2407 | 446 446 | 2005-06-22 20:40:01.000 | 1 1 | 2020-12-23 07:16:03 |
| 4358 | 2005-07-07 19:27:04.000 | 3136 3136 | 446 446 | 2005-07-14 23:46:04.000 | 1 1 | 2020-12-23 07:16:21 |
| 5393 | 2005-07-09 19:35:12.000 | 1417 1417 | 446 446 | 2005-07-11 14:00:12.000 | 1 1 | 2020-12-23 07:16:36 |
| 5409 | 2005-07-09 20:17:19.000 | 3538 3538 | 446 446 | 2005-07-13 23:30:19.000 | 1 1 | 2020-12-23 07:16:36 |
| 6454 | 2005-07-12 01:00:12.000 | 4028 4028 | 446 446 | 2005-07-16 22:12:12.000 | 1 1 | 2020-12-23 07:16:51 |
| 6510 | 2005-07-12 03:35:39.000 | 905 905 | 446 446 | 2005-07-21 01:41:39.000 | 1 1 | 2020-12-23 07:16:52 |
| 6535 | 2005-07-12 04:43:43.000 | 1921 1921 | 446 446 | 2005-07-17 04:52:43.000 | 1 1 | 2020-12-23 07:16:53 |
| 6734 | 2005-07-12 14:04:24.000 | 2248 2248 | 446 446 | 2005-07-21 19:47:24.000 | 1 1 | 2020-12-23 07:16:56 |
| 7005 | 2005-07-27 01:38:36.000 | 2438 2438 | 446 446 | 2005-08-02 05:56:36.000 | 2 2 | 2020-12-23 07:17:00 |
| 7089 | 2005-07-27 04:43:42.000 | 1380 1380 | 446 446 | 2005-07-30 10:04:42.000 | 1 1 | 2020-12-23 07:17:01 |
| 7576 | 2005-07-27 22:54:35.000 | 3374 3374 | 446 446 | 2005-08-03 03:53:35.000 | 2 2 | 2020-12-23 07:17:08 |
| 8284 | 2005-07-29 01:56:40.000 | 4371 4371 | 446 446 | 2005-08-07 07:15:40.000 | 2 2 | 2020-12-23 07:17:19 |
| 8309 | 2005-07-29 03:22:20.000 | 2250 2250 | 446 446 | 2005-08-01 06:30:20.000 | 1 1 | 2020-12-23 07:17:19 |
| 8670 | 2005-07-29 15:49:03.000 | 2354 2354 | 446 446 | 2005-08-01 20:19:03.000 | 2 2 | 2020-12-23 07:17:24 |
| 8691 | 2005-07-29 16:41:23.000 | 672 672 | 446 446 | 2005-08-02 12:32:23.000 | 2 2 | 2020-12-23 07:17:25 |
| 8922 | 2005-07-30 02:08:25.000 | 1696 1696 | 446 446 | 2005-08-08 07:19:25.000 | 2 2 | 2020-12-23 07:17:28 |
| 8923 | 2005-07-30 02:08:49.000 | 2425 2425 | 446 446 | 2005-08-03 23:45:49.000 | 2 2 | 2020-12-23 07:17:28 |
| 9116 | 2005-07-30 09:19:41.000 | 2917 2917 | 446 446 | 2005-08-03 08:01:41.000 | 2 2 | 2020-12-23 07:17:31 |
| 11051 | 2005-08-02 06:23:39.000 | 4189 4189 | 446 446 | 2005-08-06 06:46:39.000 | 2 2 | 2020-12-23 07:17:58 |
| 12253 | 2005-08-18 04:00:50.000 | 566 566 | 446 446 | 2005-08-19 04:43:50.000 | 1 1 | 2020-12-23 07:18:15 |
| 12480 | 2005-08-18 12:26:43.000 | 3339 3339 | 446 446 | 2005-08-26 13:23:43.000 | 1 1 | 2020-12-23 07:18:18 |
| 15808 | 2005-08-23 14:38:37.000 | 1663 1663 | 446 446 | 2005-08-27 14:45:37.000 | 2 2 | 2020-12-23 07:19:06 |
| 15951 | 2005-08-23 19:10:32.000 | 3018 3018 | 446 446 | 2005-08-29 14:17:32.000 | 1 1 | 2020-12-23 07:19:09 |
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) ;