rental
28 rows where customer_id = 92
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 |
|---|---|---|---|---|---|---|
| 271 | 2005-05-26 16:22:01.000 | 2388 2388 | 92 92 | 2005-06-03 17:30:01.000 | 2 2 | 2020-12-23 07:15:23 |
| 456 | 2005-05-27 19:50:06.000 | 1699 1699 | 92 92 | 2005-06-02 22:14:06.000 | 1 1 | 2020-12-23 07:15:26 |
| 2084 | 2005-06-17 17:17:19.000 | 428 428 | 92 92 | 2005-06-22 14:57:19.000 | 1 1 | 2020-12-23 07:15:48 |
| 2521 | 2005-06-19 00:41:08.000 | 132 132 | 92 92 | 2005-06-22 00:40:08.000 | 1 1 | 2020-12-23 07:15:54 |
| 2740 | 2005-06-19 15:59:04.000 | 1534 1534 | 92 92 | 2005-06-28 12:18:04.000 | 2 2 | 2020-12-23 07:15:57 |
| 3595 | 2005-07-06 04:59:49.000 | 1431 1431 | 92 92 | 2005-07-15 06:26:49.000 | 2 2 | 2020-12-23 07:16:09 |
| 3716 | 2005-07-06 10:52:32.000 | 3271 3271 | 92 92 | 2005-07-14 08:45:32.000 | 2 2 | 2020-12-23 07:16:11 |
| 4360 | 2005-07-07 19:31:12.000 | 1811 1811 | 92 92 | 2005-07-10 23:11:12.000 | 2 2 | 2020-12-23 07:16:21 |
| 4828 | 2005-07-08 17:52:29.000 | 1100 1100 | 92 92 | 2005-07-11 14:35:29.000 | 1 1 | 2020-12-23 07:16:28 |
| 5497 | 2005-07-10 00:23:23.000 | 4473 4473 | 92 92 | 2005-07-16 03:54:23.000 | 1 1 | 2020-12-23 07:16:38 |
| 5620 | 2005-07-10 05:30:52.000 | 2980 2980 | 92 92 | 2005-07-16 04:13:52.000 | 1 1 | 2020-12-23 07:16:40 |
| 5792 | 2005-07-10 14:22:19.000 | 4234 4234 | 92 92 | 2005-07-19 09:08:19.000 | 1 1 | 2020-12-23 07:16:42 |
| 5919 | 2005-07-10 21:32:14.000 | 164 164 | 92 92 | 2005-07-12 16:47:14.000 | 1 1 | 2020-12-23 07:16:44 |
| 6158 | 2005-07-11 09:50:24.000 | 3954 3954 | 92 92 | 2005-07-13 04:49:24.000 | 2 2 | 2020-12-23 07:16:47 |
| 6277 | 2005-07-11 16:19:01.000 | 4023 4023 | 92 92 | 2005-07-18 21:00:01.000 | 2 2 | 2020-12-23 07:16:49 |
| 7073 | 2005-07-27 04:03:26.000 | 3859 3859 | 92 92 | 2005-08-03 05:50:26.000 | 1 1 | 2020-12-23 07:17:01 |
| 7832 | 2005-07-28 08:46:11.000 | 284 284 | 92 92 | 2005-08-04 06:55:11.000 | 1 1 | 2020-12-23 07:17:12 |
| 8494 | 2005-07-29 09:04:32.000 | 3524 3524 | 92 92 | 2005-07-31 10:30:32.000 | 1 1 | 2020-12-23 07:17:22 |
| 8938 | 2005-07-30 02:56:08.000 | 4031 4031 | 92 92 | 2005-07-31 23:08:08.000 | 2 2 | 2020-12-23 07:17:28 |
| 9240 | 2005-07-30 13:57:54.000 | 587 587 | 92 92 | 2005-08-03 12:23:54.000 | 2 2 | 2020-12-23 07:17:33 |
| 11203 | 2005-08-02 11:52:41.000 | 4520 4520 | 92 92 | 2005-08-10 15:52:41.000 | 2 2 | 2020-12-23 07:18:00 |
| 11245 | 2005-08-02 13:33:50.000 | 2609 2609 | 92 92 | 2005-08-04 10:20:50.000 | 2 2 | 2020-12-23 07:18:01 |
| 11849 | 2005-08-17 13:24:55.000 | 1191 1191 | 92 92 | 2005-08-22 12:50:55.000 | 2 2 | 2020-12-23 07:18:09 |
| 13020 | 2005-08-19 08:07:50.000 | 4501 4501 | 92 92 | 2005-08-28 11:42:50.000 | 1 1 | 2020-12-23 07:18:25 |
| 13495 | 2005-08-20 01:40:25.000 | 3881 3881 | 92 92 | 2005-08-23 06:32:25.000 | 2 2 | 2020-12-23 07:18:33 |
| 13620 | 2005-08-20 06:41:27.000 | 2361 2361 | 92 92 | 2005-08-24 11:02:27.000 | 1 1 | 2020-12-23 07:18:35 |
| 14798 | 2005-08-22 00:44:08.000 | 7 7 | 92 92 | 2005-08-27 02:18:08.000 | 2 2 | 2020-12-23 07:18:52 |
| 14998 | 2005-08-22 07:53:14.000 | 3852 3852 | 92 92 | 2005-08-24 03:46:14.000 | 2 2 | 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) ;