rental
29 rows where customer_id = 349
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 |
|---|---|---|---|---|---|---|
| 890 | 2005-05-30 07:43:04.000 | 1464 1464 | 349 349 | 2005-06-01 11:26:04.000 | 1 1 | 2020-12-23 07:15:32 |
| 1197 | 2005-06-15 01:42:46.000 | 3812 3812 | 349 349 | 2005-06-20 00:22:46.000 | 1 1 | 2020-12-23 07:15:36 |
| 1523 | 2005-06-16 00:18:40.000 | 681 681 | 349 349 | 2005-06-17 02:50:40.000 | 2 2 | 2020-12-23 07:15:40 |
| 2987 | 2005-06-20 08:55:50.000 | 1531 1531 | 349 349 | 2005-06-28 13:02:50.000 | 2 2 | 2020-12-23 07:16:01 |
| 3067 | 2005-06-20 13:59:21.000 | 3094 3094 | 349 349 | 2005-06-28 19:09:21.000 | 2 2 | 2020-12-23 07:16:02 |
| 3488 | 2005-07-05 23:32:49.000 | 898 898 | 349 349 | 2005-07-15 02:01:49.000 | 2 2 | 2020-12-23 07:16:08 |
| 4190 | 2005-07-07 10:52:39.000 | 826 826 | 349 349 | 2005-07-11 13:19:39.000 | 1 1 | 2020-12-23 07:16:18 |
| 4494 | 2005-07-08 01:42:45.000 | 1655 1655 | 349 349 | 2005-07-16 22:29:45.000 | 2 2 | 2020-12-23 07:16:23 |
| 4881 | 2005-07-08 19:40:34.000 | 4346 4346 | 349 349 | 2005-07-09 17:08:34.000 | 2 2 | 2020-12-23 07:16:29 |
| 5433 | 2005-07-09 21:22:00.000 | 2679 2679 | 349 349 | 2005-07-10 21:18:00.000 | 2 2 | 2020-12-23 07:16:37 |
| 7002 | 2005-07-27 01:26:14.000 | 4157 4157 | 349 349 | 2005-08-01 20:10:14.000 | 1 1 | 2020-12-23 07:17:00 |
| 7046 | 2005-07-27 03:27:56.000 | 3740 3740 | 349 349 | 2005-07-30 00:54:56.000 | 2 2 | 2020-12-23 07:17:00 |
| 7702 | 2005-07-28 03:56:05.000 | 253 253 | 349 349 | 2005-07-31 03:29:05.000 | 1 1 | 2020-12-23 07:17:10 |
| 8297 | 2005-07-29 02:45:46.000 | 3774 3774 | 349 349 | 2005-07-31 20:49:46.000 | 1 1 | 2020-12-23 07:17:19 |
| 9262 | 2005-07-30 14:45:02.000 | 2322 2322 | 349 349 | 2005-08-05 15:18:02.000 | 2 2 | 2020-12-23 07:17:33 |
| 9670 | 2005-07-31 06:33:33.000 | 3709 3709 | 349 349 | 2005-08-07 04:51:33.000 | 1 1 | 2020-12-23 07:17:39 |
| 9731 | 2005-07-31 08:54:47.000 | 3713 3713 | 349 349 | 2005-08-05 03:47:47.000 | 1 1 | 2020-12-23 07:17:40 |
| 10987 | 2005-08-02 04:36:52.000 | 968 968 | 349 349 | 2005-08-04 00:03:52.000 | 1 1 | 2020-12-23 07:17:57 |
| 11192 | 2005-08-02 11:29:41.000 | 1998 1998 | 349 349 | 2005-08-07 06:01:41.000 | 2 2 | 2020-12-23 07:18:00 |
| 11492 | 2005-08-02 22:46:47.000 | 4037 4037 | 349 349 | 2005-08-09 19:54:47.000 | 2 2 | 2020-12-23 07:18:05 |
| 11905 | 2005-08-17 15:40:18.000 | 2725 2725 | 349 349 | 2005-08-26 15:14:18.000 | 2 2 | 2020-12-23 07:18:10 |
| 13258 | 2005-08-19 17:05:37.000 | 2246 2246 | 349 349 | 2005-08-24 17:36:37.000 | 2 2 | 2020-12-23 07:18:29 |
| 13636 | 2005-08-20 07:20:09.000 | 1467 1467 | 349 349 | 2005-08-23 09:58:09.000 | 1 1 | 2020-12-23 07:18:35 |
| 14200 | 2005-08-21 03:51:27.000 | 2339 2339 | 349 349 | 2005-08-29 22:00:27.000 | 1 1 | 2020-12-23 07:18:44 |
| 14721 | 2005-08-21 21:50:51.000 | 4257 4257 | 349 349 | 2005-08-30 19:21:51.000 | 1 1 | 2020-12-23 07:18:51 |
| 14908 | 2005-08-22 04:44:10.000 | 102 102 | 349 349 | 2005-08-25 05:09:10.000 | 2 2 | 2020-12-23 07:18:53 |
| 14915 | 2006-02-14 15:16:03.000 | 112 112 | 349 349 | 1 1 | 2020-12-23 07:18:53 | |
| 15833 | 2005-08-23 15:22:15.000 | 801 801 | 349 349 | 2005-08-31 14:54:15.000 | 1 1 | 2020-12-23 07:19:07 |
| 15955 | 2005-08-23 19:19:06.000 | 2247 2247 | 349 349 | 2005-08-31 23:34:06.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) ;