rental
28 rows where customer_id = 290
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 |
|---|---|---|---|---|---|---|
| 160 | 2005-05-26 01:46:20.000 | 1885 1885 | 290 290 | 2005-06-01 05:45:20.000 | 1 1 | 2020-12-23 07:15:22 |
| 1220 | 2005-06-15 03:26:15.000 | 1621 1621 | 290 290 | 2005-06-23 08:17:15.000 | 1 1 | 2020-12-23 07:15:36 |
| 1336 | 2005-06-15 12:01:34.000 | 1696 1696 | 290 290 | 2005-06-23 12:05:34.000 | 1 1 | 2020-12-23 07:15:37 |
| 1496 | 2005-06-15 21:55:58.000 | 3915 3915 | 290 290 | 2005-06-17 02:28:58.000 | 2 2 | 2020-12-23 07:15:40 |
| 1532 | 2005-06-16 00:41:31.000 | 3793 3793 | 290 290 | 2005-06-20 21:36:31.000 | 1 1 | 2020-12-23 07:15:40 |
| 3013 | 2005-06-20 10:45:09.000 | 4146 4146 | 290 290 | 2005-06-26 04:55:09.000 | 1 1 | 2020-12-23 07:16:01 |
| 4039 | 2005-07-07 02:57:59.000 | 4050 4050 | 290 290 | 2005-07-12 03:44:59.000 | 2 2 | 2020-12-23 07:16:16 |
| 4073 | 2005-07-07 04:49:13.000 | 647 647 | 290 290 | 2005-07-10 03:20:13.000 | 2 2 | 2020-12-23 07:16:17 |
| 4416 | 2005-07-07 22:04:36.000 | 1247 1247 | 290 290 | 2005-07-09 02:44:36.000 | 2 2 | 2020-12-23 07:16:22 |
| 5105 | 2005-07-09 06:38:59.000 | 2555 2555 | 290 290 | 2005-07-17 03:06:59.000 | 2 2 | 2020-12-23 07:16:32 |
| 5214 | 2005-07-09 11:43:08.000 | 1657 1657 | 290 290 | 2005-07-17 08:58:08.000 | 2 2 | 2020-12-23 07:16:34 |
| 5827 | 2005-07-10 16:22:20.000 | 1296 1296 | 290 290 | 2005-07-15 21:13:20.000 | 2 2 | 2020-12-23 07:16:43 |
| 6816 | 2005-07-12 18:18:50.000 | 2963 2963 | 290 290 | 2005-07-18 21:09:50.000 | 2 2 | 2020-12-23 07:16:57 |
| 6952 | 2005-07-26 23:51:27.000 | 4288 4288 | 290 290 | 2005-07-30 02:45:27.000 | 2 2 | 2020-12-23 07:16:59 |
| 7265 | 2005-07-27 11:19:01.000 | 3465 3465 | 290 290 | 2005-08-01 09:29:01.000 | 1 1 | 2020-12-23 07:17:04 |
| 7650 | 2005-07-28 01:47:20.000 | 701 701 | 290 290 | 2005-08-05 06:00:20.000 | 2 2 | 2020-12-23 07:17:09 |
| 8639 | 2005-07-29 14:30:31.000 | 3504 3504 | 290 290 | 2005-08-02 16:04:31.000 | 1 1 | 2020-12-23 07:17:24 |
| 9000 | 2005-07-30 04:58:55.000 | 3763 3763 | 290 290 | 2005-08-08 04:01:55.000 | 2 2 | 2020-12-23 07:17:29 |
| 9413 | 2005-07-30 20:44:39.000 | 2618 2618 | 290 290 | 2005-08-01 01:56:39.000 | 2 2 | 2020-12-23 07:17:35 |
| 10096 | 2005-07-31 20:38:58.000 | 3606 3606 | 290 290 | 2005-08-06 02:34:58.000 | 1 1 | 2020-12-23 07:17:45 |
| 10194 | 2005-08-01 00:33:52.000 | 1447 1447 | 290 290 | 2005-08-06 04:50:52.000 | 2 2 | 2020-12-23 07:17:46 |
| 10901 | 2005-08-02 01:35:44.000 | 3813 3813 | 290 290 | 2005-08-04 21:20:44.000 | 2 2 | 2020-12-23 07:17:56 |
| 11596 | 2005-08-17 02:53:55.000 | 1674 1674 | 290 290 | 2005-08-26 02:19:55.000 | 1 1 | 2020-12-23 07:18:06 |
| 12193 | 2005-08-18 02:03:59.000 | 1086 1086 | 290 290 | 2005-08-25 05:32:59.000 | 2 2 | 2020-12-23 07:18:14 |
| 12778 | 2005-08-18 23:40:23.000 | 3626 3626 | 290 290 | 2005-08-19 18:14:23.000 | 2 2 | 2020-12-23 07:18:22 |
| 13190 | 2005-08-19 14:27:59.000 | 4316 4316 | 290 290 | 2005-08-26 13:45:59.000 | 1 1 | 2020-12-23 07:18:28 |
| 13367 | 2005-08-19 21:19:27.000 | 4569 4569 | 290 290 | 2005-08-24 15:22:27.000 | 2 2 | 2020-12-23 07:18:31 |
| 13687 | 2005-08-20 08:57:51.000 | 3629 3629 | 290 290 | 2005-08-22 07:02:51.000 | 2 2 | 2020-12-23 07:18:36 |
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) ;