rental
29 rows where customer_id = 179
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 |
|---|---|---|---|---|---|---|
| 502 | 2005-05-28 01:34:43.000 | 3131 3131 | 179 179 | 2005-05-31 01:02:43.000 | 2 2 | 2020-12-23 07:15:26 |
| 759 | 2005-05-29 10:57:57.000 | 2367 2367 | 179 179 | 2005-06-07 16:23:57.000 | 2 2 | 2020-12-23 07:15:29 |
| 1046 | 2005-05-31 06:42:30.000 | 468 468 | 179 179 | 2005-06-03 04:33:30.000 | 2 2 | 2020-12-23 07:15:34 |
| 1286 | 2005-06-15 08:41:13.000 | 774 774 | 179 179 | 2005-06-23 13:13:13.000 | 2 2 | 2020-12-23 07:15:37 |
| 2613 | 2005-06-19 07:25:50.000 | 3830 3830 | 179 179 | 2005-06-21 03:04:50.000 | 1 1 | 2020-12-23 07:15:56 |
| 3671 | 2005-07-06 09:01:29.000 | 2821 2821 | 179 179 | 2005-07-15 08:08:29.000 | 1 1 | 2020-12-23 07:16:11 |
| 3844 | 2005-07-06 16:37:58.000 | 2814 2814 | 179 179 | 2005-07-09 19:54:58.000 | 2 2 | 2020-12-23 07:16:13 |
| 4618 | 2005-07-08 08:00:20.000 | 3691 3691 | 179 179 | 2005-07-14 05:59:20.000 | 1 1 | 2020-12-23 07:16:25 |
| 6071 | 2005-07-11 04:50:03.000 | 889 889 | 179 179 | 2005-07-19 23:52:03.000 | 1 1 | 2020-12-23 07:16:46 |
| 6616 | 2005-07-12 08:37:30.000 | 1833 1833 | 179 179 | 2005-07-20 10:33:30.000 | 1 1 | 2020-12-23 07:16:54 |
| 6806 | 2005-07-12 17:31:43.000 | 656 656 | 179 179 | 2005-07-17 14:36:43.000 | 1 1 | 2020-12-23 07:16:57 |
| 7028 | 2005-07-27 02:54:25.000 | 834 834 | 179 179 | 2005-08-02 06:16:25.000 | 2 2 | 2020-12-23 07:17:00 |
| 7054 | 2005-07-27 03:43:28.000 | 2661 2661 | 179 179 | 2005-08-04 09:15:28.000 | 1 1 | 2020-12-23 07:17:00 |
| 7609 | 2005-07-28 00:11:00.000 | 3655 3655 | 179 179 | 2005-07-31 03:04:00.000 | 1 1 | 2020-12-23 07:17:09 |
| 8573 | 2005-07-29 11:51:25.000 | 1637 1637 | 179 179 | 2005-08-07 08:53:25.000 | 1 1 | 2020-12-23 07:17:23 |
| 8731 | 2005-07-29 18:23:57.000 | 2638 2638 | 179 179 | 2005-08-05 19:38:57.000 | 1 1 | 2020-12-23 07:17:25 |
| 9491 | 2005-07-30 23:45:23.000 | 3624 3624 | 179 179 | 2005-08-01 00:33:23.000 | 2 2 | 2020-12-23 07:17:36 |
| 9893 | 2005-07-31 14:07:21.000 | 2445 2445 | 179 179 | 2005-08-01 09:20:21.000 | 2 2 | 2020-12-23 07:17:42 |
| 10156 | 2005-07-31 22:36:00.000 | 141 141 | 179 179 | 2005-08-02 00:03:00.000 | 2 2 | 2020-12-23 07:17:46 |
| 10385 | 2005-08-01 06:39:55.000 | 778 778 | 179 179 | 2005-08-06 02:16:55.000 | 1 1 | 2020-12-23 07:17:49 |
| 10569 | 2005-08-01 13:18:23.000 | 611 611 | 179 179 | 2005-08-10 13:33:23.000 | 1 1 | 2020-12-23 07:17:52 |
| 11342 | 2005-08-02 17:11:35.000 | 4251 4251 | 179 179 | 2005-08-07 15:04:35.000 | 1 1 | 2020-12-23 07:18:02 |
| 13240 | 2005-08-19 16:22:14.000 | 1411 1411 | 179 179 | 2005-08-20 13:24:14.000 | 1 1 | 2020-12-23 07:18:29 |
| 13400 | 2005-08-19 22:11:44.000 | 2173 2173 | 179 179 | 2005-08-20 23:27:44.000 | 2 2 | 2020-12-23 07:18:31 |
| 13844 | 2005-08-20 14:30:26.000 | 983 983 | 179 179 | 2005-08-29 17:08:26.000 | 1 1 | 2020-12-23 07:18:38 |
| 13957 | 2005-08-20 18:09:04.000 | 2889 2889 | 179 179 | 2005-08-23 16:52:04.000 | 1 1 | 2020-12-23 07:18:40 |
| 14082 | 2005-08-20 23:42:00.000 | 3767 3767 | 179 179 | 2005-08-27 00:59:00.000 | 1 1 | 2020-12-23 07:18:42 |
| 14589 | 2005-08-21 17:28:55.000 | 2810 2810 | 179 179 | 2005-08-22 23:06:55.000 | 1 1 | 2020-12-23 07:18:49 |
| 15985 | 2005-08-23 20:20:23.000 | 2646 2646 | 179 179 | 2005-08-26 20:55:23.000 | 1 1 | 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) ;