rental
32 rows where customer_id = 346
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 |
|---|---|---|---|---|---|---|
| 65 | 2005-05-25 09:32:03.000 | 3552 3552 | 346 346 | 2005-05-29 14:21:03.000 | 1 1 | 2020-12-23 07:15:21 |
| 810 | 2005-05-29 19:12:04.000 | 2533 2533 | 346 346 | 2005-06-04 21:12:04.000 | 2 2 | 2020-12-23 07:15:30 |
| 1994 | 2005-06-17 11:07:06.000 | 2203 2203 | 346 346 | 2005-06-25 08:32:06.000 | 2 2 | 2020-12-23 07:15:47 |
| 3372 | 2005-06-21 13:34:19.000 | 4169 4169 | 346 346 | 2005-06-27 08:41:19.000 | 2 2 | 2020-12-23 07:16:06 |
| 3421 | 2005-06-21 17:22:58.000 | 3930 3930 | 346 346 | 2005-06-24 18:57:58.000 | 1 1 | 2020-12-23 07:16:07 |
| 4420 | 2005-07-07 22:07:31.000 | 4427 4427 | 346 346 | 2005-07-12 19:14:31.000 | 2 2 | 2020-12-23 07:16:22 |
| 4958 | 2005-07-08 23:19:52.000 | 2354 2354 | 346 346 | 2005-07-17 20:31:52.000 | 1 1 | 2020-12-23 07:16:30 |
| 5428 | 2005-07-09 21:12:50.000 | 3109 3109 | 346 346 | 2005-07-14 16:25:50.000 | 2 2 | 2020-12-23 07:16:37 |
| 5557 | 2005-07-10 03:10:21.000 | 1433 1433 | 346 346 | 2005-07-11 21:34:21.000 | 1 1 | 2020-12-23 07:16:39 |
| 6136 | 2005-07-11 08:34:09.000 | 205 205 | 346 346 | 2005-07-14 06:11:09.000 | 1 1 | 2020-12-23 07:16:47 |
| 6323 | 2005-07-11 19:02:19.000 | 1352 1352 | 346 346 | 2005-07-14 15:54:19.000 | 1 1 | 2020-12-23 07:16:49 |
| 6881 | 2005-07-12 20:46:35.000 | 2496 2496 | 346 346 | 2005-07-21 00:26:35.000 | 2 2 | 2020-12-23 07:16:58 |
| 7943 | 2005-07-28 12:50:55.000 | 2914 2914 | 346 346 | 2005-08-04 11:29:55.000 | 2 2 | 2020-12-23 07:17:14 |
| 8272 | 2005-07-29 01:29:51.000 | 70 70 | 346 346 | 2005-08-03 21:56:51.000 | 2 2 | 2020-12-23 07:17:18 |
| 8505 | 2005-07-29 09:22:52.000 | 1454 1454 | 346 346 | 2005-08-06 05:23:52.000 | 1 1 | 2020-12-23 07:17:22 |
| 8543 | 2005-07-29 11:01:57.000 | 403 403 | 346 346 | 2005-08-03 06:03:57.000 | 1 1 | 2020-12-23 07:17:23 |
| 8732 | 2005-07-29 18:25:03.000 | 1143 1143 | 346 346 | 2005-08-07 18:56:03.000 | 2 2 | 2020-12-23 07:17:25 |
| 9566 | 2005-07-31 02:32:10.000 | 643 643 | 346 346 | 2005-08-02 23:54:10.000 | 2 2 | 2020-12-23 07:17:37 |
| 9848 | 2005-07-31 12:44:33.000 | 3290 3290 | 346 346 | 2005-08-07 13:49:33.000 | 2 2 | 2020-12-23 07:17:42 |
| 9927 | 2005-07-31 15:12:13.000 | 999 999 | 346 346 | 2005-08-01 11:37:13.000 | 1 1 | 2020-12-23 07:17:43 |
| 10304 | 2005-08-01 04:14:12.000 | 1538 1538 | 346 346 | 2005-08-07 22:38:12.000 | 1 1 | 2020-12-23 07:17:48 |
| 10389 | 2005-08-01 06:46:43.000 | 3534 3534 | 346 346 | 2005-08-08 07:07:43.000 | 2 2 | 2020-12-23 07:17:49 |
| 10521 | 2005-08-01 11:46:17.000 | 662 662 | 346 346 | 2005-08-05 11:06:17.000 | 2 2 | 2020-12-23 07:17:51 |
| 11062 | 2005-08-02 06:52:54.000 | 2014 2014 | 346 346 | 2005-08-07 10:59:54.000 | 1 1 | 2020-12-23 07:17:58 |
| 11375 | 2005-08-02 18:14:56.000 | 1064 1064 | 346 346 | 2005-08-08 23:29:56.000 | 1 1 | 2020-12-23 07:18:03 |
| 11470 | 2005-08-02 21:48:28.000 | 2379 2379 | 346 346 | 2005-08-05 23:58:28.000 | 2 2 | 2020-12-23 07:18:04 |
| 14890 | 2005-08-22 04:10:49.000 | 517 517 | 346 346 | 2005-08-30 23:23:49.000 | 1 1 | 2020-12-23 07:18:53 |
| 15459 | 2005-08-23 01:09:48.000 | 2058 2058 | 346 346 | 2005-08-24 04:52:48.000 | 1 1 | 2020-12-23 07:19:01 |
| 15535 | 2005-08-23 03:58:02.000 | 2371 2371 | 346 346 | 2005-08-25 05:06:02.000 | 2 2 | 2020-12-23 07:19:03 |
| 15661 | 2005-08-23 08:52:03.000 | 1599 1599 | 346 346 | 2005-08-30 08:17:03.000 | 2 2 | 2020-12-23 07:19:04 |
| 15825 | 2005-08-23 15:10:42.000 | 149 149 | 346 346 | 2005-08-29 09:28:42.000 | 2 2 | 2020-12-23 07:19:07 |
| 15827 | 2005-08-23 15:15:19.000 | 1732 1732 | 346 346 | 2005-08-24 10:50:19.000 | 2 2 | 2020-12-23 07:19:07 |
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) ;