rental
33 rows where customer_id = 7
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 |
|---|---|---|---|---|---|---|
| 46 | 2005-05-25 06:04:08.000 | 3318 3318 | 7 7 | 2005-06-02 08:18:08.000 | 2 2 | 2020-12-23 07:15:20 |
| 117 | 2005-05-25 19:30:46.000 | 4278 4278 | 7 7 | 2005-05-31 23:59:46.000 | 2 2 | 2020-12-23 07:15:21 |
| 748 | 2005-05-29 09:27:00.000 | 2803 2803 | 7 7 | 2005-06-03 04:25:00.000 | 1 1 | 2020-12-23 07:15:29 |
| 975 | 2005-05-30 21:07:15.000 | 3109 3109 | 7 7 | 2005-06-03 01:48:15.000 | 2 2 | 2020-12-23 07:15:33 |
| 1063 | 2005-05-31 08:44:29.000 | 2484 2484 | 7 7 | 2005-06-09 08:00:29.000 | 1 1 | 2020-12-23 07:15:34 |
| 1810 | 2005-06-16 21:06:00.000 | 2368 2368 | 7 7 | 2005-06-21 21:24:00.000 | 1 1 | 2020-12-23 07:15:44 |
| 2250 | 2005-06-18 05:03:36.000 | 4042 4042 | 7 7 | 2005-06-22 02:25:36.000 | 2 2 | 2020-12-23 07:15:50 |
| 2709 | 2005-06-19 14:00:26.000 | 2877 2877 | 7 7 | 2005-06-23 14:56:26.000 | 2 2 | 2020-12-23 07:15:57 |
| 2888 | 2005-06-20 01:50:56.000 | 468 468 | 7 7 | 2005-06-22 05:05:56.000 | 2 2 | 2020-12-23 07:15:59 |
| 3007 | 2005-06-20 10:11:53.000 | 1950 1950 | 7 7 | 2005-06-25 04:51:53.000 | 2 2 | 2020-12-23 07:16:01 |
| 3639 | 2005-07-06 07:09:17.000 | 2812 2812 | 7 7 | 2005-07-15 05:12:17.000 | 2 2 | 2020-12-23 07:16:10 |
| 4238 | 2005-07-07 13:22:20.000 | 3024 3024 | 7 7 | 2005-07-10 07:44:20.000 | 2 2 | 2020-12-23 07:16:19 |
| 4787 | 2005-07-08 16:16:04.000 | 3929 3929 | 7 7 | 2005-07-14 18:02:04.000 | 2 2 | 2020-12-23 07:16:27 |
| 4856 | 2005-07-08 18:47:38.000 | 2441 2441 | 7 7 | 2005-07-13 15:02:38.000 | 2 2 | 2020-12-23 07:16:28 |
| 5441 | 2005-07-09 21:52:05.000 | 3913 3913 | 7 7 | 2005-07-17 02:54:05.000 | 1 1 | 2020-12-23 07:16:37 |
| 5921 | 2005-07-10 21:35:12.000 | 3920 3920 | 7 7 | 2005-07-18 19:59:12.000 | 1 1 | 2020-12-23 07:16:44 |
| 6174 | 2005-07-11 10:36:28.000 | 3123 3123 | 7 7 | 2005-07-18 16:19:28.000 | 2 2 | 2020-12-23 07:16:47 |
| 6295 | 2005-07-11 17:30:58.000 | 1393 1393 | 7 7 | 2005-07-15 15:50:58.000 | 1 1 | 2020-12-23 07:16:49 |
| 6761 | 2005-07-12 15:17:42.000 | 3645 3645 | 7 7 | 2005-07-18 17:59:42.000 | 2 2 | 2020-12-23 07:16:56 |
| 8422 | 2005-07-29 07:02:55.000 | 3104 3104 | 7 7 | 2005-08-03 12:35:55.000 | 1 1 | 2020-12-23 07:17:21 |
| 9624 | 2005-07-31 04:30:03.000 | 3480 3480 | 7 7 | 2005-08-06 09:13:03.000 | 1 1 | 2020-12-23 07:17:38 |
| 10330 | 2005-08-01 04:57:04.000 | 1580 1580 | 7 7 | 2005-08-07 23:00:04.000 | 2 2 | 2020-12-23 07:17:48 |
| 10423 | 2005-08-01 08:19:53.000 | 739 739 | 7 7 | 2005-08-08 10:25:53.000 | 1 1 | 2020-12-23 07:17:50 |
| 10514 | 2005-08-01 11:39:26.000 | 1512 1512 | 7 7 | 2005-08-03 07:53:26.000 | 2 2 | 2020-12-23 07:17:51 |
| 10644 | 2005-08-01 15:52:00.000 | 4374 4374 | 7 7 | 2005-08-08 16:08:00.000 | 1 1 | 2020-12-23 07:17:53 |
| 10989 | 2005-08-02 04:40:54.000 | 2272 2272 | 7 7 | 2005-08-09 03:39:54.000 | 2 2 | 2020-12-23 07:17:57 |
| 11542 | 2005-08-17 00:51:32.000 | 2155 2155 | 7 7 | 2005-08-24 20:29:32.000 | 2 2 | 2020-12-23 07:18:05 |
| 12367 | 2005-08-18 07:57:14.000 | 1822 1822 | 7 7 | 2005-08-27 07:07:14.000 | 2 2 | 2020-12-23 07:18:16 |
| 12730 | 2005-08-18 21:55:01.000 | 75 75 | 7 7 | 2005-08-22 01:23:01.000 | 1 1 | 2020-12-23 07:18:21 |
| 13373 | 2005-08-19 21:23:31.000 | 4045 4045 | 7 7 | 2005-08-25 22:38:31.000 | 1 1 | 2020-12-23 07:18:31 |
| 13476 | 2005-08-20 01:06:04.000 | 2866 2866 | 7 7 | 2005-08-24 23:56:04.000 | 1 1 | 2020-12-23 07:18:32 |
| 13594 | 2005-08-20 05:53:31.000 | 3424 3424 | 7 7 | 2005-08-23 09:01:31.000 | 1 1 | 2020-12-23 07:18:34 |
| 14222 | 2005-08-21 04:49:48.000 | 714 714 | 7 7 | 2005-08-25 05:34:48.000 | 2 2 | 2020-12-23 07:18:44 |
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) ;