rental
29 rows where customer_id = 146
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 |
|---|---|---|---|---|---|---|
| 762 | 2005-05-29 11:15:51.000 | 3683 3683 | 146 146 | 2005-06-06 07:48:51.000 | 1 1 | 2020-12-23 07:15:30 |
| 1073 | 2005-05-31 09:55:04.000 | 522 522 | 146 146 | 2005-06-07 03:55:04.000 | 1 1 | 2020-12-23 07:15:34 |
| 1209 | 2005-06-15 02:31:12.000 | 1494 1494 | 146 146 | 2005-06-21 07:39:12.000 | 1 1 | 2020-12-23 07:15:36 |
| 1724 | 2005-06-16 15:15:43.000 | 61 61 | 146 146 | 2005-06-23 10:14:43.000 | 2 2 | 2020-12-23 07:15:43 |
| 2099 | 2005-06-17 18:47:26.000 | 3660 3660 | 146 146 | 2005-06-24 22:31:26.000 | 2 2 | 2020-12-23 07:15:48 |
| 2242 | 2005-06-18 04:32:28.000 | 1995 1995 | 146 146 | 2005-06-24 03:26:28.000 | 2 2 | 2020-12-23 07:15:50 |
| 2342 | 2005-06-18 11:42:40.000 | 2169 2169 | 146 146 | 2005-06-20 14:40:40.000 | 1 1 | 2020-12-23 07:15:52 |
| 2800 | 2005-06-19 19:15:56.000 | 183 183 | 146 146 | 2005-06-23 00:15:56.000 | 1 1 | 2020-12-23 07:15:58 |
| 3131 | 2005-06-20 19:08:00.000 | 3678 3678 | 146 146 | 2005-06-24 20:59:00.000 | 2 2 | 2020-12-23 07:16:02 |
| 4849 | 2005-07-08 18:34:34.000 | 4323 4323 | 146 146 | 2005-07-14 20:27:34.000 | 2 2 | 2020-12-23 07:16:28 |
| 5000 | 2005-07-09 01:16:13.000 | 668 668 | 146 146 | 2005-07-14 21:55:13.000 | 1 1 | 2020-12-23 07:16:31 |
| 6102 | 2005-07-11 06:53:09.000 | 4305 4305 | 146 146 | 2005-07-17 07:05:09.000 | 1 1 | 2020-12-23 07:16:46 |
| 6184 | 2005-07-11 11:19:21.000 | 1131 1131 | 146 146 | 2005-07-19 07:35:21.000 | 1 1 | 2020-12-23 07:16:47 |
| 6327 | 2005-07-11 19:07:29.000 | 909 909 | 146 146 | 2005-07-15 16:09:29.000 | 1 1 | 2020-12-23 07:16:50 |
| 6990 | 2005-07-27 01:02:46.000 | 4065 4065 | 146 146 | 2005-07-31 00:22:46.000 | 1 1 | 2020-12-23 07:16:59 |
| 8246 | 2005-07-29 00:38:41.000 | 1724 1724 | 146 146 | 2005-08-05 06:28:41.000 | 2 2 | 2020-12-23 07:17:18 |
| 11173 | 2005-08-02 10:28:00.000 | 4296 4296 | 146 146 | 2005-08-10 14:53:00.000 | 1 1 | 2020-12-23 07:18:00 |
| 11221 | 2005-08-02 12:32:12.000 | 1689 1689 | 146 146 | 2005-08-03 17:13:12.000 | 1 1 | 2020-12-23 07:18:00 |
| 11370 | 2005-08-02 18:06:01.000 | 3077 3077 | 146 146 | 2005-08-04 15:10:01.000 | 1 1 | 2020-12-23 07:18:03 |
| 11392 | 2005-08-02 18:41:11.000 | 261 261 | 146 146 | 2005-08-11 21:41:11.000 | 1 1 | 2020-12-23 07:18:03 |
| 11573 | 2005-08-17 01:38:18.000 | 639 639 | 146 146 | 2005-08-19 05:06:18.000 | 2 2 | 2020-12-23 07:18:06 |
| 11857 | 2005-08-17 13:48:30.000 | 101 101 | 146 146 | 2005-08-18 15:55:30.000 | 1 1 | 2020-12-23 07:18:09 |
| 12129 | 2005-08-17 23:31:25.000 | 891 891 | 146 146 | 2005-08-26 19:10:25.000 | 2 2 | 2020-12-23 07:18:13 |
| 12385 | 2005-08-18 08:39:33.000 | 3143 3143 | 146 146 | 2005-08-21 14:22:33.000 | 1 1 | 2020-12-23 07:18:16 |
| 12888 | 2005-08-19 03:41:09.000 | 4398 4398 | 146 146 | 2005-08-24 07:09:09.000 | 2 2 | 2020-12-23 07:18:23 |
| 13606 | 2005-08-20 06:07:01.000 | 83 83 | 146 146 | 2005-08-27 04:59:01.000 | 2 2 | 2020-12-23 07:18:34 |
| 13829 | 2005-08-20 13:50:17.000 | 3980 3980 | 146 146 | 2005-08-24 11:30:17.000 | 2 2 | 2020-12-23 07:18:38 |
| 14143 | 2005-08-21 02:10:32.000 | 2549 2549 | 146 146 | 2005-08-23 23:50:32.000 | 1 1 | 2020-12-23 07:18:43 |
| 15842 | 2005-08-23 15:36:05.000 | 1850 1850 | 146 146 | 2005-08-30 14:05:05.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) ;