rental
34 rows where customer_id = 147
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 |
|---|---|---|---|---|---|---|
| 362 | 2005-05-27 07:10:25.000 | 2324 2324 | 147 147 | 2005-06-01 08:34:25.000 | 1 1 | 2020-12-23 07:15:24 |
| 509 | 2005-05-28 02:51:12.000 | 3416 3416 | 147 147 | 2005-05-31 06:27:12.000 | 1 1 | 2020-12-23 07:15:26 |
| 2171 | 2005-06-18 00:06:04.000 | 1768 1768 | 147 147 | 2005-06-24 18:09:04.000 | 2 2 | 2020-12-23 07:15:49 |
| 2456 | 2005-06-18 19:36:50.000 | 553 553 | 147 147 | 2005-06-23 22:48:50.000 | 1 1 | 2020-12-23 07:15:53 |
| 2859 | 2005-06-19 23:18:42.000 | 126 126 | 147 147 | 2005-06-20 22:38:42.000 | 1 1 | 2020-12-23 07:15:59 |
| 3011 | 2005-06-20 10:39:10.000 | 4376 4376 | 147 147 | 2005-06-28 07:02:10.000 | 2 2 | 2020-12-23 07:16:01 |
| 3919 | 2005-07-06 20:26:21.000 | 2695 2695 | 147 147 | 2005-07-15 00:13:21.000 | 1 1 | 2020-12-23 07:16:14 |
| 3956 | 2005-07-06 22:01:51.000 | 15 15 | 147 147 | 2005-07-12 21:35:51.000 | 2 2 | 2020-12-23 07:16:15 |
| 4792 | 2005-07-08 16:29:38.000 | 2132 2132 | 147 147 | 2005-07-10 16:31:38.000 | 2 2 | 2020-12-23 07:16:27 |
| 5044 | 2005-07-09 03:30:25.000 | 1625 1625 | 147 147 | 2005-07-11 02:32:25.000 | 2 2 | 2020-12-23 07:16:31 |
| 5567 | 2005-07-10 03:36:46.000 | 1616 1616 | 147 147 | 2005-07-15 23:22:46.000 | 2 2 | 2020-12-23 07:16:39 |
| 5844 | 2005-07-10 17:14:43.000 | 609 609 | 147 147 | 2005-07-12 19:27:43.000 | 1 1 | 2020-12-23 07:16:43 |
| 6343 | 2005-07-11 19:51:35.000 | 513 513 | 147 147 | 2005-07-12 19:13:35.000 | 1 1 | 2020-12-23 07:16:50 |
| 6469 | 2005-07-12 01:29:27.000 | 3830 3830 | 147 147 | 2005-07-16 20:22:27.000 | 2 2 | 2020-12-23 07:16:52 |
| 6753 | 2005-07-12 14:55:42.000 | 2591 2591 | 147 147 | 2005-07-18 19:16:42.000 | 1 1 | 2020-12-23 07:16:56 |
| 7044 | 2005-07-27 03:27:29.000 | 88 88 | 147 147 | 2005-08-01 07:00:29.000 | 2 2 | 2020-12-23 07:17:00 |
| 7723 | 2005-07-28 04:45:37.000 | 3263 3263 | 147 147 | 2005-07-30 09:03:37.000 | 2 2 | 2020-12-23 07:17:11 |
| 8893 | 2005-07-30 00:48:19.000 | 1048 1048 | 147 147 | 2005-08-01 03:25:19.000 | 1 1 | 2020-12-23 07:17:28 |
| 9772 | 2005-07-31 09:56:07.000 | 3639 3639 | 147 147 | 2005-08-01 13:50:07.000 | 2 2 | 2020-12-23 07:17:40 |
| 10706 | 2005-08-01 18:41:28.000 | 1183 1183 | 147 147 | 2005-08-10 14:30:28.000 | 1 1 | 2020-12-23 07:17:54 |
| 10752 | 2005-08-01 20:08:49.000 | 3203 3203 | 147 147 | 2005-08-10 15:41:49.000 | 2 2 | 2020-12-23 07:17:54 |
| 12284 | 2005-08-18 04:55:49.000 | 3162 3162 | 147 147 | 2005-08-22 08:45:49.000 | 2 2 | 2020-12-23 07:18:15 |
| 12757 | 2005-08-18 22:57:45.000 | 1095 1095 | 147 147 | 2005-08-21 22:43:45.000 | 1 1 | 2020-12-23 07:18:22 |
| 13542 | 2005-08-20 03:41:57.000 | 4543 4543 | 147 147 | 2005-08-29 03:21:57.000 | 2 2 | 2020-12-23 07:18:33 |
| 13670 | 2005-08-20 08:27:01.000 | 1951 1951 | 147 147 | 2005-08-29 05:59:01.000 | 2 2 | 2020-12-23 07:18:35 |
| 14021 | 2005-08-20 21:02:12.000 | 4394 4394 | 147 147 | 2005-08-27 22:15:12.000 | 1 1 | 2020-12-23 07:18:41 |
| 14156 | 2005-08-21 02:35:16.000 | 437 437 | 147 147 | 2005-08-27 01:32:16.000 | 2 2 | 2020-12-23 07:18:43 |
| 14641 | 2005-08-21 19:05:23.000 | 2205 2205 | 147 147 | 2005-08-22 22:30:23.000 | 2 2 | 2020-12-23 07:18:50 |
| 14960 | 2005-08-22 06:31:36.000 | 3316 3316 | 147 147 | 2005-08-29 07:10:36.000 | 2 2 | 2020-12-23 07:18:54 |
| 15052 | 2005-08-22 10:09:19.000 | 2349 2349 | 147 147 | 2005-08-31 09:27:19.000 | 2 2 | 2020-12-23 07:18:55 |
| 15331 | 2005-08-22 20:37:57.000 | 146 146 | 147 147 | 2005-08-25 21:56:57.000 | 1 1 | 2020-12-23 07:19:00 |
| 15513 | 2005-08-23 03:01:56.000 | 3779 3779 | 147 147 | 2005-08-24 23:46:56.000 | 2 2 | 2020-12-23 07:19:02 |
| 15730 | 2005-08-23 11:32:35.000 | 947 947 | 147 147 | 2005-08-30 13:46:35.000 | 2 2 | 2020-12-23 07:19:05 |
| 16004 | 2005-08-23 20:53:20.000 | 2223 2223 | 147 147 | 2005-08-31 15:15:20.000 | 2 2 | 2020-12-23 07:19:09 |
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) ;