rental
39 rows where customer_id = 468
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 |
|---|---|---|---|---|---|---|
| 101 | 2005-05-25 17:17:04.000 | 617 617 | 468 468 | 2005-05-31 19:47:04.000 | 1 1 | 2020-12-23 07:15:21 |
| 186 | 2005-05-26 05:32:52.000 | 1799 1799 | 468 468 | 2005-06-03 07:19:52.000 | 2 2 | 2020-12-23 07:15:22 |
| 296 | 2005-05-26 20:35:19.000 | 3878 3878 | 468 468 | 2005-06-04 02:31:19.000 | 2 2 | 2020-12-23 07:15:24 |
| 459 | 2005-05-27 20:00:04.000 | 597 597 | 468 468 | 2005-05-29 22:47:04.000 | 1 1 | 2020-12-23 07:15:26 |
| 673 | 2005-05-28 22:07:30.000 | 1769 1769 | 468 468 | 2005-06-01 23:42:30.000 | 1 1 | 2020-12-23 07:15:28 |
| 1229 | 2005-06-15 03:53:13.000 | 2140 2140 | 468 468 | 2005-06-18 04:09:13.000 | 1 1 | 2020-12-23 07:15:36 |
| 1627 | 2005-06-16 07:51:09.000 | 4135 4135 | 468 468 | 2005-06-24 02:24:09.000 | 1 1 | 2020-12-23 07:15:41 |
| 1821 | 2005-06-16 21:42:49.000 | 3207 3207 | 468 468 | 2005-06-20 16:25:49.000 | 2 2 | 2020-12-23 07:15:44 |
| 1975 | 2005-06-17 09:32:10.000 | 2520 2520 | 468 468 | 2005-06-23 03:50:10.000 | 2 2 | 2020-12-23 07:15:46 |
| 2462 | 2005-06-18 20:00:15.000 | 2151 2151 | 468 468 | 2005-06-21 21:54:15.000 | 2 2 | 2020-12-23 07:15:53 |
| 2831 | 2005-06-19 21:17:06.000 | 4089 4089 | 468 468 | 2005-06-22 16:56:06.000 | 2 2 | 2020-12-23 07:15:58 |
| 3724 | 2005-07-06 11:12:48.000 | 3622 3622 | 468 468 | 2005-07-14 14:41:48.000 | 1 1 | 2020-12-23 07:16:11 |
| 3840 | 2005-07-06 16:30:59.000 | 4384 4384 | 468 468 | 2005-07-15 22:08:59.000 | 2 2 | 2020-12-23 07:16:13 |
| 4184 | 2005-07-07 10:30:08.000 | 1022 1022 | 468 468 | 2005-07-14 12:56:08.000 | 1 1 | 2020-12-23 07:16:18 |
| 4527 | 2005-07-08 03:20:10.000 | 2263 2263 | 468 468 | 2005-07-15 02:21:10.000 | 1 1 | 2020-12-23 07:16:23 |
| 5285 | 2005-07-09 15:10:44.000 | 676 676 | 468 468 | 2005-07-16 13:02:44.000 | 2 2 | 2020-12-23 07:16:35 |
| 6392 | 2005-07-11 22:25:19.000 | 4406 4406 | 468 468 | 2005-07-16 04:24:19.000 | 1 1 | 2020-12-23 07:16:51 |
| 6581 | 2005-07-12 06:26:49.000 | 2121 2121 | 468 468 | 2005-07-14 05:07:49.000 | 2 2 | 2020-12-23 07:16:53 |
| 6815 | 2005-07-12 18:14:10.000 | 3236 3236 | 468 468 | 2005-07-17 14:16:10.000 | 1 1 | 2020-12-23 07:16:57 |
| 7292 | 2005-07-27 12:34:14.000 | 795 795 | 468 468 | 2005-08-01 18:16:14.000 | 2 2 | 2020-12-23 07:17:04 |
| 7685 | 2005-07-28 03:13:00.000 | 2213 2213 | 468 468 | 2005-08-01 00:29:00.000 | 2 2 | 2020-12-23 07:17:10 |
| 8423 | 2005-07-29 07:02:57.000 | 187 187 | 468 468 | 2005-08-06 04:59:57.000 | 1 1 | 2020-12-23 07:17:21 |
| 8768 | 2005-07-29 19:43:02.000 | 1601 1601 | 468 468 | 2005-08-03 23:36:02.000 | 1 1 | 2020-12-23 07:17:26 |
| 9598 | 2005-07-31 03:30:41.000 | 1105 1105 | 468 468 | 2005-08-04 03:54:41.000 | 1 1 | 2020-12-23 07:17:38 |
| 9690 | 2005-07-31 07:06:29.000 | 4449 4449 | 468 468 | 2005-08-06 09:45:29.000 | 2 2 | 2020-12-23 07:17:39 |
| 11257 | 2005-08-02 13:45:05.000 | 105 105 | 468 468 | 2005-08-11 16:37:05.000 | 1 1 | 2020-12-23 07:18:01 |
| 11633 | 2005-08-17 04:30:09.000 | 1706 1706 | 468 468 | 2005-08-20 06:56:09.000 | 1 1 | 2020-12-23 07:18:06 |
| 12026 | 2005-08-17 20:00:10.000 | 1568 1568 | 468 468 | 2005-08-26 01:54:10.000 | 1 1 | 2020-12-23 07:18:12 |
| 13221 | 2005-08-19 15:45:47.000 | 120 120 | 468 468 | 2005-08-26 21:10:47.000 | 1 1 | 2020-12-23 07:18:29 |
| 13417 | 2005-08-19 22:51:39.000 | 92 92 | 468 468 | 2005-08-23 03:34:39.000 | 1 1 | 2020-12-23 07:18:31 |
| 14154 | 2005-08-21 02:30:00.000 | 951 951 | 468 468 | 2005-08-28 01:41:00.000 | 2 2 | 2020-12-23 07:18:43 |
| 14210 | 2005-08-21 04:28:02.000 | 1867 1867 | 468 468 | 2005-08-24 02:14:02.000 | 2 2 | 2020-12-23 07:18:44 |
| 14309 | 2005-08-21 07:44:17.000 | 4447 4447 | 468 468 | 2005-08-30 07:23:17.000 | 2 2 | 2020-12-23 07:18:45 |
| 14313 | 2005-08-21 07:49:53.000 | 3384 3384 | 468 468 | 2005-08-30 05:52:53.000 | 2 2 | 2020-12-23 07:18:45 |
| 14614 | 2005-08-21 18:03:51.000 | 3053 3053 | 468 468 | 2005-08-30 13:37:51.000 | 1 1 | 2020-12-23 07:18:49 |
| 15435 | 2005-08-23 00:28:19.000 | 2103 2103 | 468 468 | 2005-08-26 00:44:19.000 | 2 2 | 2020-12-23 07:19:01 |
| 15522 | 2005-08-23 03:32:31.000 | 2396 2396 | 468 468 | 2005-08-30 02:17:31.000 | 2 2 | 2020-12-23 07:19:02 |
| 15836 | 2005-08-23 15:29:17.000 | 260 260 | 468 468 | 2005-08-26 11:44:17.000 | 2 2 | 2020-12-23 07:19:07 |
| 16044 | 2005-08-23 22:24:39.000 | 1312 1312 | 468 468 | 2005-08-25 04:08:39.000 | 1 1 | 2020-12-23 07:19:10 |
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) ;