rental
32 rows where customer_id = 35
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 |
|---|---|---|---|---|---|---|
| 47 | 2005-05-25 06:05:20.000 | 2211 2211 | 35 35 | 2005-05-30 03:04:20.000 | 1 1 | 2020-12-23 07:15:20 |
| 424 | 2005-05-27 15:34:01.000 | 2815 2815 | 35 35 | 2005-06-05 09:44:01.000 | 1 1 | 2020-12-23 07:15:25 |
| 1579 | 2005-06-16 04:09:08.000 | 158 158 | 35 35 | 2005-06-21 05:21:08.000 | 2 2 | 2020-12-23 07:15:40 |
| 1989 | 2005-06-17 10:47:24.000 | 634 634 | 35 35 | 2005-06-19 05:12:24.000 | 1 1 | 2020-12-23 07:15:47 |
| 2229 | 2005-06-18 03:50:18.000 | 2840 2840 | 35 35 | 2005-06-26 07:16:18.000 | 2 2 | 2020-12-23 07:15:50 |
| 2231 | 2005-06-18 03:52:14.000 | 2280 2280 | 35 35 | 2005-06-23 06:52:14.000 | 1 1 | 2020-12-23 07:15:50 |
| 2743 | 2005-06-19 16:15:56.000 | 2611 2611 | 35 35 | 2005-06-23 12:30:56.000 | 1 1 | 2020-12-23 07:15:57 |
| 3112 | 2005-06-20 17:53:30.000 | 3725 3725 | 35 35 | 2005-06-26 16:03:30.000 | 1 1 | 2020-12-23 07:16:02 |
| 3597 | 2005-07-06 05:03:59.000 | 4080 4080 | 35 35 | 2005-07-13 06:49:59.000 | 2 2 | 2020-12-23 07:16:09 |
| 4098 | 2005-07-07 06:14:51.000 | 2865 2865 | 35 35 | 2005-07-14 06:51:51.000 | 2 2 | 2020-12-23 07:16:17 |
| 4990 | 2005-07-09 00:48:49.000 | 3305 3305 | 35 35 | 2005-07-10 06:36:49.000 | 2 2 | 2020-12-23 07:16:31 |
| 5013 | 2005-07-09 01:46:45.000 | 3000 3000 | 35 35 | 2005-07-16 06:57:45.000 | 1 1 | 2020-12-23 07:16:31 |
| 5323 | 2005-07-09 16:34:07.000 | 1302 1302 | 35 35 | 2005-07-13 21:37:07.000 | 1 1 | 2020-12-23 07:16:35 |
| 5916 | 2005-07-10 21:26:31.000 | 2267 2267 | 35 35 | 2005-07-19 20:23:31.000 | 1 1 | 2020-12-23 07:16:44 |
| 5963 | 2005-07-10 23:47:08.000 | 4434 4434 | 35 35 | 2005-07-12 04:27:08.000 | 1 1 | 2020-12-23 07:16:45 |
| 6147 | 2005-07-11 09:13:08.000 | 910 910 | 35 35 | 2005-07-17 03:48:08.000 | 1 1 | 2020-12-23 07:16:47 |
| 6401 | 2005-07-11 22:44:34.000 | 1427 1427 | 35 35 | 2005-07-12 22:18:34.000 | 2 2 | 2020-12-23 07:16:51 |
| 6565 | 2005-07-12 05:39:50.000 | 2751 2751 | 35 35 | 2005-07-13 01:07:50.000 | 2 2 | 2020-12-23 07:16:53 |
| 6572 | 2005-07-12 05:56:38.000 | 3121 3121 | 35 35 | 2005-07-16 10:41:38.000 | 1 1 | 2020-12-23 07:16:53 |
| 7140 | 2005-07-27 06:54:12.000 | 2028 2028 | 35 35 | 2005-08-03 10:36:12.000 | 2 2 | 2020-12-23 07:17:02 |
| 8822 | 2005-07-29 22:20:21.000 | 744 744 | 35 35 | 2005-08-06 03:00:21.000 | 2 2 | 2020-12-23 07:17:27 |
| 8971 | 2005-07-30 04:03:58.000 | 3572 3572 | 35 35 | 2005-08-08 04:16:58.000 | 2 2 | 2020-12-23 07:17:29 |
| 9033 | 2005-07-30 06:07:42.000 | 3416 3416 | 35 35 | 2005-08-05 01:18:42.000 | 1 1 | 2020-12-23 07:17:30 |
| 9579 | 2005-07-31 02:59:20.000 | 3547 3547 | 35 35 | 2005-08-06 03:52:20.000 | 2 2 | 2020-12-23 07:17:38 |
| 11298 | 2005-08-02 15:32:32.000 | 1663 1663 | 35 35 | 2005-08-06 20:22:32.000 | 1 1 | 2020-12-23 07:18:02 |
| 11452 | 2005-08-02 20:59:52.000 | 1245 1245 | 35 35 | 2005-08-12 01:16:52.000 | 1 1 | 2020-12-23 07:18:04 |
| 11645 | 2005-08-17 04:50:56.000 | 4261 4261 | 35 35 | 2005-08-25 23:03:56.000 | 1 1 | 2020-12-23 07:18:07 |
| 12055 | 2005-08-17 21:02:19.000 | 1481 1481 | 35 35 | 2005-08-18 15:24:19.000 | 1 1 | 2020-12-23 07:18:12 |
| 13735 | 2005-08-20 10:31:01.000 | 1813 1813 | 35 35 | 2005-08-26 05:00:01.000 | 1 1 | 2020-12-23 07:18:36 |
| 14110 | 2005-08-21 00:53:09.000 | 2709 2709 | 35 35 | 2005-08-24 05:33:09.000 | 2 2 | 2020-12-23 07:18:42 |
| 14124 | 2005-08-21 01:31:51.000 | 311 311 | 35 35 | 2005-08-24 22:20:51.000 | 2 2 | 2020-12-23 07:18:42 |
| 14735 | 2005-08-21 22:25:09.000 | 950 950 | 35 35 | 2005-08-23 21:16:09.000 | 1 1 | 2020-12-23 07:18:51 |
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) ;