rental
30 rows where customer_id = 53
This data as json, xlsx, CSV (advanced)
Suggested facets: rental_date, 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 |
|---|---|---|---|---|---|---|
| 88 | 2005-05-25 14:13:54.000 | 2221 2221 | 53 53 | 2005-05-29 09:32:54.000 | 2 2 | 2020-12-23 07:15:21 |
| 378 | 2005-05-27 09:23:22.000 | 2242 2242 | 53 53 | 2005-05-29 15:20:22.000 | 1 1 | 2020-12-23 07:15:25 |
| 751 | 2005-05-29 09:55:43.000 | 2711 2711 | 53 53 | 2005-06-02 04:54:43.000 | 1 1 | 2020-12-23 07:15:29 |
| 783 | 2005-05-29 14:41:18.000 | 3046 3046 | 53 53 | 2005-06-06 10:39:18.000 | 2 2 | 2020-12-23 07:15:30 |
| 856 | 2005-05-30 02:01:21.000 | 3969 3969 | 53 53 | 2005-06-07 03:25:21.000 | 1 1 | 2020-12-23 07:15:31 |
| 1107 | 2005-05-31 15:04:05.000 | 3449 3449 | 53 53 | 2005-06-07 16:42:05.000 | 2 2 | 2020-12-23 07:15:34 |
| 1964 | 2005-06-17 09:10:09.000 | 3390 3390 | 53 53 | 2005-06-21 15:08:09.000 | 1 1 | 2020-12-23 07:15:46 |
| 2388 | 2005-06-18 15:26:30.000 | 2923 2923 | 53 53 | 2005-06-20 20:24:30.000 | 1 1 | 2020-12-23 07:15:52 |
| 2903 | 2005-06-20 02:49:01.000 | 3580 3580 | 53 53 | 2005-06-25 05:03:01.000 | 2 2 | 2020-12-23 07:15:59 |
| 3140 | 2005-06-20 19:47:12.000 | 2936 2936 | 53 53 | 2005-06-24 23:24:12.000 | 1 1 | 2020-12-23 07:16:03 |
| 3244 | 2005-06-21 03:01:10.000 | 291 291 | 53 53 | 2005-06-24 06:59:10.000 | 2 2 | 2020-12-23 07:16:04 |
| 3591 | 2005-07-06 04:37:10.000 | 1241 1241 | 53 53 | 2005-07-09 23:32:10.000 | 1 1 | 2020-12-23 07:16:09 |
| 3898 | 2005-07-06 19:12:37.000 | 3858 3858 | 53 53 | 2005-07-11 15:50:37.000 | 1 1 | 2020-12-23 07:16:14 |
| 5185 | 2005-07-09 10:14:39.000 | 357 357 | 53 53 | 2005-07-10 13:31:39.000 | 1 1 | 2020-12-23 07:16:33 |
| 7466 | 2005-07-27 18:51:17.000 | 2791 2791 | 53 53 | 2005-07-31 16:58:17.000 | 1 1 | 2020-12-23 07:17:07 |
| 7699 | 2005-07-28 03:52:21.000 | 4332 4332 | 53 53 | 2005-08-01 05:00:21.000 | 2 2 | 2020-12-23 07:17:10 |
| 9343 | 2005-07-30 18:13:13.000 | 3521 3521 | 53 53 | 2005-08-02 13:48:13.000 | 1 1 | 2020-12-23 07:17:34 |
| 9928 | 2005-07-31 15:13:57.000 | 3627 3627 | 53 53 | 2005-08-06 20:39:57.000 | 1 1 | 2020-12-23 07:17:43 |
| 10594 | 2005-08-01 14:14:59.000 | 1826 1826 | 53 53 | 2005-08-07 10:48:59.000 | 2 2 | 2020-12-23 07:17:52 |
| 11657 | 2006-02-14 15:16:03.000 | 3043 3043 | 53 53 | 2 2 | 2020-12-23 07:18:07 | |
| 12054 | 2005-08-17 20:59:56.000 | 3780 3780 | 53 53 | 2005-08-23 19:57:56.000 | 1 1 | 2020-12-23 07:18:12 |
| 12580 | 2005-08-18 15:49:08.000 | 1197 1197 | 53 53 | 2005-08-24 11:03:08.000 | 2 2 | 2020-12-23 07:18:19 |
| 13049 | 2005-08-19 09:25:40.000 | 4122 4122 | 53 53 | 2005-08-27 10:19:40.000 | 2 2 | 2020-12-23 07:18:26 |
| 13789 | 2005-08-20 12:16:38.000 | 2523 2523 | 53 53 | 2005-08-25 07:29:38.000 | 1 1 | 2020-12-23 07:18:37 |
| 14061 | 2005-08-20 22:32:11.000 | 73 73 | 53 53 | 2005-08-22 19:28:11.000 | 1 1 | 2020-12-23 07:18:42 |
| 14091 | 2005-08-21 00:11:17.000 | 3304 3304 | 53 53 | 2005-08-27 18:38:17.000 | 1 1 | 2020-12-23 07:18:42 |
| 14119 | 2005-08-21 01:15:59.000 | 129 129 | 53 53 | 2005-08-27 23:36:59.000 | 2 2 | 2020-12-23 07:18:42 |
| 14137 | 2006-02-14 15:16:03.000 | 2346 2346 | 53 53 | 2 2 | 2020-12-23 07:18:43 | |
| 14671 | 2005-08-21 19:59:30.000 | 2622 2622 | 53 53 | 2005-08-22 19:39:30.000 | 1 1 | 2020-12-23 07:18:50 |
| 14811 | 2005-08-22 01:09:04.000 | 1613 1613 | 53 53 | 2005-08-26 19:30:04.000 | 1 1 | 2020-12-23 07:18:52 |
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) ;