rental
26 rows where customer_id = 105
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 |
|---|---|---|---|---|---|---|
| 327 | 2005-05-27 01:18:57.000 | 2678 2678 | 105 105 | 2005-06-04 04:06:57.000 | 1 1 | 2020-12-23 07:15:24 |
| 473 | 2005-05-27 21:36:34.000 | 802 802 | 105 105 | 2005-06-05 17:02:34.000 | 1 1 | 2020-12-23 07:15:26 |
| 485 | 2005-05-27 23:40:52.000 | 2392 2392 | 105 105 | 2005-05-28 22:40:52.000 | 2 2 | 2020-12-23 07:15:26 |
| 779 | 2005-05-29 14:17:17.000 | 533 533 | 105 105 | 2005-06-06 16:46:17.000 | 1 1 | 2020-12-23 07:15:30 |
| 1789 | 2005-06-16 19:49:18.000 | 4264 4264 | 105 105 | 2005-06-23 17:07:18.000 | 2 2 | 2020-12-23 07:15:44 |
| 1991 | 2005-06-17 10:49:23.000 | 3963 3963 | 105 105 | 2005-06-25 10:48:23.000 | 1 1 | 2020-12-23 07:15:47 |
| 2635 | 2005-06-19 09:08:45.000 | 3332 3332 | 105 105 | 2005-06-26 09:20:45.000 | 1 1 | 2020-12-23 07:15:56 |
| 5261 | 2005-07-09 14:06:56.000 | 2899 2899 | 105 105 | 2005-07-11 14:21:56.000 | 2 2 | 2020-12-23 07:16:34 |
| 5429 | 2005-07-09 21:14:03.000 | 2467 2467 | 105 105 | 2005-07-18 01:33:03.000 | 1 1 | 2020-12-23 07:16:37 |
| 5542 | 2005-07-10 02:45:53.000 | 1713 1713 | 105 105 | 2005-07-15 23:23:53.000 | 2 2 | 2020-12-23 07:16:38 |
| 5677 | 2005-07-10 08:41:28.000 | 2647 2647 | 105 105 | 2005-07-12 09:05:28.000 | 2 2 | 2020-12-23 07:16:40 |
| 6546 | 2005-07-12 04:57:17.000 | 393 393 | 105 105 | 2005-07-17 09:29:17.000 | 2 2 | 2020-12-23 07:16:53 |
| 7442 | 2005-07-27 17:47:00.000 | 2471 2471 | 105 105 | 2005-07-28 21:37:00.000 | 1 1 | 2020-12-23 07:17:06 |
| 8980 | 2005-07-30 04:22:15.000 | 3061 3061 | 105 105 | 2005-08-04 08:16:15.000 | 1 1 | 2020-12-23 07:17:29 |
| 9124 | 2005-07-30 09:43:12.000 | 4552 4552 | 105 105 | 2005-08-06 06:17:12.000 | 1 1 | 2020-12-23 07:17:31 |
| 9198 | 2005-07-30 12:37:08.000 | 2371 2371 | 105 105 | 2005-08-07 16:37:08.000 | 2 2 | 2020-12-23 07:17:32 |
| 9210 | 2005-07-30 12:56:44.000 | 101 101 | 105 105 | 2005-08-08 09:41:44.000 | 2 2 | 2020-12-23 07:17:32 |
| 10513 | 2005-08-01 11:37:34.000 | 4057 4057 | 105 105 | 2005-08-02 17:15:34.000 | 2 2 | 2020-12-23 07:17:51 |
| 12217 | 2005-08-18 02:44:44.000 | 2556 2556 | 105 105 | 2005-08-24 03:27:44.000 | 1 1 | 2020-12-23 07:18:14 |
| 12899 | 2005-08-19 04:03:34.000 | 830 830 | 105 105 | 2005-08-20 08:34:34.000 | 2 2 | 2020-12-23 07:18:24 |
| 13057 | 2005-08-19 09:40:05.000 | 876 876 | 105 105 | 2005-08-28 13:22:05.000 | 2 2 | 2020-12-23 07:18:26 |
| 13751 | 2005-08-20 11:17:03.000 | 185 185 | 105 105 | 2005-08-22 14:12:03.000 | 2 2 | 2020-12-23 07:18:37 |
| 14048 | 2005-08-20 22:03:18.000 | 3475 3475 | 105 105 | 2005-08-25 02:57:18.000 | 2 2 | 2020-12-23 07:18:41 |
| 15624 | 2005-08-23 07:24:27.000 | 396 396 | 105 105 | 2005-08-29 12:36:27.000 | 2 2 | 2020-12-23 07:19:04 |
| 15688 | 2005-08-23 09:48:45.000 | 2851 2851 | 105 105 | 2005-08-30 10:28:45.000 | 2 2 | 2020-12-23 07:19:04 |
| 15803 | 2005-08-23 14:27:07.000 | 500 500 | 105 105 | 2005-08-28 12:01:07.000 | 2 2 | 2020-12-23 07:19:06 |
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) ;