rental
30 rows where customer_id = 275
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 |
|---|---|---|---|---|---|---|
| 336 | 2005-05-27 03:15:23.000 | 1811 1811 | 275 275 | 2005-05-29 22:43:23.000 | 1 1 | 2020-12-23 07:15:24 |
| 1797 | 2005-06-16 20:13:03.000 | 3435 3435 | 275 275 | 2005-06-22 22:56:03.000 | 1 1 | 2020-12-23 07:15:44 |
| 2414 | 2005-06-18 17:01:55.000 | 4500 4500 | 275 275 | 2005-06-20 17:42:55.000 | 1 1 | 2020-12-23 07:15:53 |
| 2646 | 2005-06-19 09:56:01.000 | 3511 3511 | 275 275 | 2005-06-21 04:15:01.000 | 2 2 | 2020-12-23 07:15:56 |
| 3355 | 2005-06-21 11:30:47.000 | 1960 1960 | 275 275 | 2005-06-23 06:04:47.000 | 1 1 | 2020-12-23 07:16:06 |
| 4396 | 2005-07-07 21:14:19.000 | 750 750 | 275 275 | 2005-07-10 19:22:19.000 | 1 1 | 2020-12-23 07:16:22 |
| 4634 | 2005-07-08 08:40:02.000 | 811 811 | 275 275 | 2005-07-12 04:45:02.000 | 2 2 | 2020-12-23 07:16:25 |
| 4912 | 2005-07-08 21:26:11.000 | 2012 2012 | 275 275 | 2005-07-18 02:19:11.000 | 1 1 | 2020-12-23 07:16:29 |
| 6301 | 2005-07-11 17:54:09.000 | 3528 3528 | 275 275 | 2005-07-18 20:42:09.000 | 2 2 | 2020-12-23 07:16:49 |
| 6856 | 2005-07-12 19:50:16.000 | 4338 4338 | 275 275 | 2005-07-14 22:25:16.000 | 1 1 | 2020-12-23 07:16:57 |
| 7553 | 2005-07-27 22:11:36.000 | 1643 1643 | 275 275 | 2005-08-03 17:52:36.000 | 1 1 | 2020-12-23 07:17:08 |
| 7596 | 2005-07-27 23:33:57.000 | 2097 2097 | 275 275 | 2005-08-01 20:46:57.000 | 2 2 | 2020-12-23 07:17:09 |
| 8746 | 2005-07-29 19:03:15.000 | 2179 2179 | 275 275 | 2005-07-30 17:06:15.000 | 1 1 | 2020-12-23 07:17:26 |
| 9258 | 2005-07-30 14:31:31.000 | 2007 2007 | 275 275 | 2005-08-05 16:29:31.000 | 2 2 | 2020-12-23 07:17:33 |
| 10479 | 2005-08-01 10:11:25.000 | 4580 4580 | 275 275 | 2005-08-06 04:52:25.000 | 1 1 | 2020-12-23 07:17:50 |
| 11309 | 2005-08-02 15:50:55.000 | 607 607 | 275 275 | 2005-08-09 18:28:55.000 | 1 1 | 2020-12-23 07:18:02 |
| 11610 | 2005-08-17 03:43:37.000 | 3048 3048 | 275 275 | 2005-08-20 22:14:37.000 | 1 1 | 2020-12-23 07:18:06 |
| 12589 | 2005-08-18 16:06:31.000 | 956 956 | 275 275 | 2005-08-27 17:20:31.000 | 1 1 | 2020-12-23 07:18:19 |
| 12606 | 2005-08-18 17:02:21.000 | 359 359 | 275 275 | 2005-08-24 22:38:21.000 | 1 1 | 2020-12-23 07:18:19 |
| 13037 | 2005-08-19 08:53:57.000 | 65 65 | 275 275 | 2005-08-28 08:56:57.000 | 2 2 | 2020-12-23 07:18:26 |
| 13860 | 2005-08-20 14:55:09.000 | 558 558 | 275 275 | 2005-08-22 20:42:09.000 | 1 1 | 2020-12-23 07:18:38 |
| 13865 | 2005-08-20 15:04:09.000 | 3647 3647 | 275 275 | 2005-08-24 10:06:09.000 | 2 2 | 2020-12-23 07:18:38 |
| 13902 | 2005-08-20 16:07:08.000 | 1165 1165 | 275 275 | 2005-08-24 16:43:08.000 | 2 2 | 2020-12-23 07:18:39 |
| 14063 | 2005-08-20 22:36:40.000 | 1215 1215 | 275 275 | 2005-08-25 00:18:40.000 | 2 2 | 2020-12-23 07:18:42 |
| 14187 | 2005-08-21 03:32:03.000 | 4031 4031 | 275 275 | 2005-08-25 03:29:03.000 | 2 2 | 2020-12-23 07:18:44 |
| 14296 | 2005-08-21 07:13:23.000 | 3813 3813 | 275 275 | 2005-08-26 11:14:23.000 | 1 1 | 2020-12-23 07:18:45 |
| 14483 | 2005-08-21 13:43:59.000 | 37 37 | 275 275 | 2005-08-28 16:38:59.000 | 2 2 | 2020-12-23 07:18:48 |
| 14727 | 2005-08-21 22:12:45.000 | 650 650 | 275 275 | 2005-08-25 00:46:45.000 | 1 1 | 2020-12-23 07:18:51 |
| 15269 | 2005-08-22 18:39:44.000 | 524 524 | 275 275 | 2005-08-24 17:29:44.000 | 1 1 | 2020-12-23 07:18:59 |
| 15496 | 2005-08-23 02:30:23.000 | 1863 1863 | 275 275 | 2005-08-31 03:31:23.000 | 2 2 | 2020-12-23 07:19:02 |
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) ;