rental
22 rows where customer_id = 544
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 |
|---|---|---|---|---|---|---|
| 397 | 2005-05-27 12:29:02.000 | 4193 4193 | 544 544 | 2005-05-28 17:36:02.000 | 2 2 | 2020-12-23 07:15:25 |
| 864 | 2005-05-30 03:27:17.000 | 2777 2777 | 544 544 | 2005-06-06 08:28:17.000 | 1 1 | 2020-12-23 07:15:31 |
| 1248 | 2005-06-15 05:33:52.000 | 3878 3878 | 544 544 | 2005-06-19 06:56:52.000 | 2 2 | 2020-12-23 07:15:36 |
| 1434 | 2005-06-15 18:30:46.000 | 4228 4228 | 544 544 | 2005-06-24 17:51:46.000 | 1 1 | 2020-12-23 07:15:39 |
| 2373 | 2005-06-18 14:37:57.000 | 2780 2780 | 544 544 | 2005-06-23 19:29:57.000 | 2 2 | 2020-12-23 07:15:52 |
| 2395 | 2005-06-18 15:45:15.000 | 899 899 | 544 544 | 2005-06-27 19:11:15.000 | 2 2 | 2020-12-23 07:15:52 |
| 4395 | 2005-07-07 21:13:22.000 | 360 360 | 544 544 | 2005-07-08 22:59:22.000 | 2 2 | 2020-12-23 07:16:22 |
| 4703 | 2005-07-08 11:44:56.000 | 2859 2859 | 544 544 | 2005-07-13 09:17:56.000 | 1 1 | 2020-12-23 07:16:26 |
| 4847 | 2005-07-08 18:29:13.000 | 3397 3397 | 544 544 | 2005-07-15 18:12:13.000 | 2 2 | 2020-12-23 07:16:28 |
| 8566 | 2005-07-29 11:35:46.000 | 2011 2011 | 544 544 | 2005-07-30 13:50:46.000 | 1 1 | 2020-12-23 07:17:23 |
| 8937 | 2005-07-30 02:53:21.000 | 2406 2406 | 544 544 | 2005-08-08 03:33:21.000 | 2 2 | 2020-12-23 07:17:28 |
| 8963 | 2005-07-30 03:46:26.000 | 100 100 | 544 544 | 2005-08-08 06:12:26.000 | 1 1 | 2020-12-23 07:17:29 |
| 10735 | 2005-08-01 19:29:45.000 | 4061 4061 | 544 544 | 2005-08-02 19:50:45.000 | 2 2 | 2020-12-23 07:17:54 |
| 11401 | 2005-08-02 19:05:06.000 | 1799 1799 | 544 544 | 2005-08-09 22:34:06.000 | 1 1 | 2020-12-23 07:18:03 |
| 11766 | 2005-08-17 09:58:40.000 | 2999 2999 | 544 544 | 2005-08-21 04:59:40.000 | 1 1 | 2020-12-23 07:18:08 |
| 12640 | 2005-08-18 18:14:49.000 | 1715 1715 | 544 544 | 2005-08-24 21:25:49.000 | 1 1 | 2020-12-23 07:18:20 |
| 14142 | 2005-08-21 02:07:43.000 | 1479 1479 | 544 544 | 2005-08-23 02:37:43.000 | 2 2 | 2020-12-23 07:18:43 |
| 14498 | 2005-08-21 14:10:44.000 | 3971 3971 | 544 544 | 2005-08-23 08:29:44.000 | 1 1 | 2020-12-23 07:18:48 |
| 14651 | 2005-08-21 19:31:09.000 | 4037 4037 | 544 544 | 2005-08-28 14:26:09.000 | 2 2 | 2020-12-23 07:18:50 |
| 14981 | 2005-08-22 07:19:05.000 | 1239 1239 | 544 544 | 2005-08-26 03:08:05.000 | 2 2 | 2020-12-23 07:18:54 |
| 15219 | 2005-08-22 17:00:31.000 | 3313 3313 | 544 544 | 2005-08-31 20:16:31.000 | 1 1 | 2020-12-23 07:18:58 |
| 15605 | 2005-08-23 06:48:47.000 | 3152 3152 | 544 544 | 2005-08-28 06:09:47.000 | 1 1 | 2020-12-23 07:19:03 |
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) ;