rental
35 rows where customer_id = 196
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 |
|---|---|---|---|---|---|---|
| 106 | 2005-05-25 18:18:19.000 | 3627 3627 | 196 196 | 2005-06-04 00:01:19.000 | 2 2 | 2020-12-23 07:15:21 |
| 178 | 2005-05-26 04:21:46.000 | 1489 1489 | 196 196 | 2005-06-04 07:09:46.000 | 2 2 | 2020-12-23 07:15:22 |
| 491 | 2005-05-28 00:13:35.000 | 1326 1326 | 196 196 | 2005-05-29 00:11:35.000 | 2 2 | 2020-12-23 07:15:26 |
| 1053 | 2005-05-31 07:12:44.000 | 3734 3734 | 196 196 | 2005-06-04 12:33:44.000 | 1 1 | 2020-12-23 07:15:34 |
| 1182 | 2005-06-15 00:45:21.000 | 1061 1061 | 196 196 | 2005-06-22 03:52:21.000 | 1 1 | 2020-12-23 07:15:35 |
| 1348 | 2005-06-15 12:45:30.000 | 2078 2078 | 196 196 | 2005-06-17 17:12:30.000 | 1 1 | 2020-12-23 07:15:38 |
| 1600 | 2005-06-16 06:04:12.000 | 2264 2264 | 196 196 | 2005-06-19 09:39:12.000 | 2 2 | 2020-12-23 07:15:41 |
| 2681 | 2005-06-19 12:15:27.000 | 2704 2704 | 196 196 | 2005-06-21 16:48:27.000 | 2 2 | 2020-12-23 07:15:56 |
| 2912 | 2005-06-20 03:32:45.000 | 1076 1076 | 196 196 | 2005-06-21 23:32:45.000 | 1 1 | 2020-12-23 07:16:00 |
| 3104 | 2005-06-20 17:06:46.000 | 1490 1490 | 196 196 | 2005-06-28 13:18:46.000 | 2 2 | 2020-12-23 07:16:02 |
| 3271 | 2005-06-21 05:16:10.000 | 4191 4191 | 196 196 | 2005-06-27 10:46:10.000 | 1 1 | 2020-12-23 07:16:04 |
| 3342 | 2005-06-21 10:46:36.000 | 2884 2884 | 196 196 | 2005-06-23 09:46:36.000 | 2 2 | 2020-12-23 07:16:06 |
| 4879 | 2005-07-08 19:34:55.000 | 1406 1406 | 196 196 | 2005-07-09 15:53:55.000 | 1 1 | 2020-12-23 07:16:29 |
| 4999 | 2005-07-09 01:12:57.000 | 1797 1797 | 196 196 | 2005-07-17 00:12:57.000 | 1 1 | 2020-12-23 07:16:31 |
| 5143 | 2005-07-09 08:07:07.000 | 3803 3803 | 196 196 | 2005-07-18 10:17:07.000 | 1 1 | 2020-12-23 07:16:33 |
| 5353 | 2005-07-09 18:04:29.000 | 2994 2994 | 196 196 | 2005-07-15 17:46:29.000 | 2 2 | 2020-12-23 07:16:36 |
| 5768 | 2005-07-10 13:15:26.000 | 345 345 | 196 196 | 2005-07-15 09:42:26.000 | 1 1 | 2020-12-23 07:16:42 |
| 6857 | 2005-07-12 19:53:30.000 | 424 424 | 196 196 | 2005-07-13 15:22:30.000 | 1 1 | 2020-12-23 07:16:57 |
| 7666 | 2005-07-28 02:35:12.000 | 688 688 | 196 196 | 2005-08-05 05:43:12.000 | 2 2 | 2020-12-23 07:17:10 |
| 8266 | 2005-07-29 01:20:16.000 | 1972 1972 | 196 196 | 2005-07-30 04:31:16.000 | 1 1 | 2020-12-23 07:17:18 |
| 8472 | 2005-07-29 08:36:22.000 | 2975 2975 | 196 196 | 2005-08-02 07:55:22.000 | 1 1 | 2020-12-23 07:17:21 |
| 8700 | 2005-07-29 16:56:01.000 | 3710 3710 | 196 196 | 2005-07-31 16:19:01.000 | 2 2 | 2020-12-23 07:17:25 |
| 9346 | 2005-07-30 18:13:52.000 | 2845 2845 | 196 196 | 2005-08-03 17:58:52.000 | 1 1 | 2020-12-23 07:17:34 |
| 9721 | 2005-07-31 08:28:46.000 | 3942 3942 | 196 196 | 2005-08-05 14:03:46.000 | 1 1 | 2020-12-23 07:17:40 |
| 9804 | 2005-07-31 11:07:39.000 | 2490 2490 | 196 196 | 2005-08-09 11:57:39.000 | 1 1 | 2020-12-23 07:17:41 |
| 10122 | 2005-07-31 21:29:28.000 | 4229 4229 | 196 196 | 2005-08-09 00:04:28.000 | 1 1 | 2020-12-23 07:17:45 |
| 10191 | 2005-08-01 00:28:38.000 | 1131 1131 | 196 196 | 2005-08-06 02:23:38.000 | 1 1 | 2020-12-23 07:17:46 |
| 11104 | 2005-08-02 08:09:58.000 | 3042 3042 | 196 196 | 2005-08-05 11:55:58.000 | 1 1 | 2020-12-23 07:17:59 |
| 12430 | 2005-08-18 10:32:41.000 | 2840 2840 | 196 196 | 2005-08-22 16:16:41.000 | 1 1 | 2020-12-23 07:18:17 |
| 12684 | 2005-08-18 19:51:27.000 | 978 978 | 196 196 | 2005-08-19 15:56:27.000 | 1 1 | 2020-12-23 07:18:20 |
| 12836 | 2005-08-19 01:48:33.000 | 1380 1380 | 196 196 | 2005-08-23 04:46:33.000 | 1 1 | 2020-12-23 07:18:23 |
| 13799 | 2005-08-20 12:36:42.000 | 4413 4413 | 196 196 | 2005-08-28 08:47:42.000 | 1 1 | 2020-12-23 07:18:37 |
| 14410 | 2005-08-21 10:54:49.000 | 839 839 | 196 196 | 2005-08-26 08:28:49.000 | 2 2 | 2020-12-23 07:18:47 |
| 14698 | 2005-08-21 20:49:58.000 | 4255 4255 | 196 196 | 2005-08-29 20:13:58.000 | 2 2 | 2020-12-23 07:18:50 |
| 15980 | 2005-08-23 20:10:13.000 | 3365 3365 | 196 196 | 2005-08-24 17:44:13.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) ;