rental
30 rows where customer_id = 347
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 |
|---|---|---|---|---|---|---|
| 1711 | 2005-06-16 14:11:52.000 | 273 273 | 347 347 | 2005-06-25 08:49:52.000 | 1 1 | 2020-12-23 07:15:42 |
| 2274 | 2005-06-18 06:31:15.000 | 3021 3021 | 347 347 | 2005-06-21 01:24:15.000 | 2 2 | 2020-12-23 07:15:51 |
| 3026 | 2005-06-20 11:48:00.000 | 4032 4032 | 347 347 | 2005-06-21 12:51:00.000 | 2 2 | 2020-12-23 07:16:01 |
| 3092 | 2005-06-20 16:04:42.000 | 4344 4344 | 347 347 | 2005-06-27 19:54:42.000 | 1 1 | 2020-12-23 07:16:02 |
| 3326 | 2005-06-21 09:04:50.000 | 1025 1025 | 347 347 | 2005-06-30 12:10:50.000 | 2 2 | 2020-12-23 07:16:05 |
| 3605 | 2005-07-06 05:27:15.000 | 384 384 | 347 347 | 2005-07-10 00:05:15.000 | 2 2 | 2020-12-23 07:16:09 |
| 3666 | 2005-07-06 08:27:43.000 | 4212 4212 | 347 347 | 2005-07-09 07:37:43.000 | 2 2 | 2020-12-23 07:16:10 |
| 4232 | 2005-07-07 12:49:12.000 | 3841 3841 | 347 347 | 2005-07-15 16:45:12.000 | 1 1 | 2020-12-23 07:16:19 |
| 4523 | 2005-07-08 03:06:59.000 | 2785 2785 | 347 347 | 2005-07-17 04:44:59.000 | 1 1 | 2020-12-23 07:16:23 |
| 5471 | 2005-07-09 23:11:52.000 | 4086 4086 | 347 347 | 2005-07-13 02:08:52.000 | 2 2 | 2020-12-23 07:16:37 |
| 5819 | 2005-07-10 15:56:20.000 | 3439 3439 | 347 347 | 2005-07-12 19:59:20.000 | 2 2 | 2020-12-23 07:16:43 |
| 6121 | 2005-07-11 07:55:27.000 | 1613 1613 | 347 347 | 2005-07-16 03:43:27.000 | 2 2 | 2020-12-23 07:16:47 |
| 7811 | 2005-07-28 08:06:01.000 | 3891 3891 | 347 347 | 2005-07-30 10:08:01.000 | 2 2 | 2020-12-23 07:17:12 |
| 8148 | 2005-07-28 20:39:47.000 | 537 537 | 347 347 | 2005-08-02 16:29:47.000 | 1 1 | 2020-12-23 07:17:17 |
| 8153 | 2005-07-28 20:55:49.000 | 2173 2173 | 347 347 | 2005-08-01 15:56:49.000 | 2 2 | 2020-12-23 07:17:17 |
| 8176 | 2005-07-28 21:42:08.000 | 3527 3527 | 347 347 | 2005-08-03 22:59:08.000 | 2 2 | 2020-12-23 07:17:17 |
| 8378 | 2005-07-29 05:28:35.000 | 3500 3500 | 347 347 | 2005-08-02 05:55:35.000 | 1 1 | 2020-12-23 07:17:20 |
| 8771 | 2005-07-29 19:54:41.000 | 3533 3533 | 347 347 | 2005-08-03 20:38:41.000 | 1 1 | 2020-12-23 07:17:26 |
| 9013 | 2005-07-30 05:19:20.000 | 2367 2367 | 347 347 | 2005-08-04 01:35:20.000 | 1 1 | 2020-12-23 07:17:29 |
| 9582 | 2005-07-31 03:05:19.000 | 3913 3913 | 347 347 | 2005-08-04 07:26:19.000 | 1 1 | 2020-12-23 07:17:38 |
| 9856 | 2005-07-31 13:00:35.000 | 723 723 | 347 347 | 2005-08-07 18:07:35.000 | 1 1 | 2020-12-23 07:17:42 |
| 9876 | 2005-07-31 13:37:51.000 | 828 828 | 347 347 | 2005-08-07 18:05:51.000 | 2 2 | 2020-12-23 07:17:42 |
| 11738 | 2005-08-17 08:45:55.000 | 3042 3042 | 347 347 | 2005-08-26 07:09:55.000 | 1 1 | 2020-12-23 07:18:08 |
| 12195 | 2005-08-18 02:07:49.000 | 943 943 | 347 347 | 2005-08-19 23:54:49.000 | 2 2 | 2020-12-23 07:18:14 |
| 12399 | 2005-08-18 09:13:42.000 | 3950 3950 | 347 347 | 2005-08-27 11:44:42.000 | 1 1 | 2020-12-23 07:18:17 |
| 13314 | 2005-08-19 19:12:43.000 | 2899 2899 | 347 347 | 2005-08-27 00:20:43.000 | 2 2 | 2020-12-23 07:18:30 |
| 14894 | 2005-08-22 04:16:56.000 | 3494 3494 | 347 347 | 2005-08-24 00:30:56.000 | 2 2 | 2020-12-23 07:18:53 |
| 14958 | 2005-08-22 06:30:10.000 | 1710 1710 | 347 347 | 2005-08-28 09:43:10.000 | 2 2 | 2020-12-23 07:18:54 |
| 15426 | 2005-08-23 00:07:19.000 | 3280 3280 | 347 347 | 2005-08-26 23:19:19.000 | 1 1 | 2020-12-23 07:19:01 |
| 15555 | 2005-08-23 04:51:52.000 | 1869 1869 | 347 347 | 2005-08-24 01:01:52.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) ;