rental
35 rows where customer_id = 273
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 |
|---|---|---|---|---|---|---|
| 122 | 2005-05-25 19:46:21.000 | 2908 2908 | 273 273 | 2005-06-02 19:07:21.000 | 1 1 | 2020-12-23 07:15:21 |
| 980 | 2005-05-30 21:45:19.000 | 4169 4169 | 273 273 | 2005-06-01 20:32:19.000 | 1 1 | 2020-12-23 07:15:33 |
| 1391 | 2005-06-15 16:11:21.000 | 4213 4213 | 273 273 | 2005-06-22 21:32:21.000 | 1 1 | 2020-12-23 07:15:38 |
| 1747 | 2005-06-16 16:53:33.000 | 1661 1661 | 273 273 | 2005-06-25 21:48:33.000 | 2 2 | 2020-12-23 07:15:43 |
| 1765 | 2005-06-16 17:56:10.000 | 822 822 | 273 273 | 2005-06-19 23:40:10.000 | 2 2 | 2020-12-23 07:15:43 |
| 2301 | 2005-06-18 08:24:03.000 | 869 869 | 273 273 | 2005-06-25 10:31:03.000 | 2 2 | 2020-12-23 07:15:51 |
| 3202 | 2005-06-21 00:33:47.000 | 2725 2725 | 273 273 | 2005-06-24 04:05:47.000 | 2 2 | 2020-12-23 07:16:03 |
| 3556 | 2005-07-06 02:46:13.000 | 3142 3142 | 273 273 | 2005-07-06 22:08:13.000 | 1 1 | 2020-12-23 07:16:09 |
| 4937 | 2005-07-08 22:29:59.000 | 33 33 | 273 273 | 2005-07-15 21:51:59.000 | 2 2 | 2020-12-23 07:16:30 |
| 5256 | 2005-07-09 13:55:45.000 | 4226 4226 | 273 273 | 2005-07-15 17:02:45.000 | 1 1 | 2020-12-23 07:16:34 |
| 5435 | 2005-07-09 21:28:07.000 | 2884 2884 | 273 273 | 2005-07-18 21:16:07.000 | 2 2 | 2020-12-23 07:16:37 |
| 5605 | 2005-07-10 05:06:45.000 | 2964 2964 | 273 273 | 2005-07-15 02:51:45.000 | 2 2 | 2020-12-23 07:16:39 |
| 6592 | 2005-07-12 07:19:35.000 | 3481 3481 | 273 273 | 2005-07-19 07:15:35.000 | 1 1 | 2020-12-23 07:16:54 |
| 6635 | 2005-07-12 09:47:58.000 | 515 515 | 273 273 | 2005-07-16 15:43:58.000 | 1 1 | 2020-12-23 07:16:54 |
| 6696 | 2005-07-12 12:44:04.000 | 299 299 | 273 273 | 2005-07-16 14:17:04.000 | 1 1 | 2020-12-23 07:16:55 |
| 6717 | 2005-07-12 13:35:02.000 | 523 523 | 273 273 | 2005-07-20 15:03:02.000 | 1 1 | 2020-12-23 07:16:55 |
| 8449 | 2005-07-29 07:42:25.000 | 2610 2610 | 273 273 | 2005-07-30 06:07:25.000 | 2 2 | 2020-12-23 07:17:21 |
| 9186 | 2005-07-30 12:13:48.000 | 4513 4513 | 273 273 | 2005-07-31 11:59:48.000 | 1 1 | 2020-12-23 07:17:32 |
| 9285 | 2005-07-30 15:26:08.000 | 3686 3686 | 273 273 | 2005-08-06 15:59:08.000 | 2 2 | 2020-12-23 07:17:33 |
| 9391 | 2005-07-30 19:48:41.000 | 665 665 | 273 273 | 2005-08-04 15:27:41.000 | 1 1 | 2020-12-23 07:17:35 |
| 9693 | 2005-07-31 07:11:50.000 | 1031 1031 | 273 273 | 2005-08-08 09:55:50.000 | 1 1 | 2020-12-23 07:17:39 |
| 9729 | 2005-07-31 08:43:43.000 | 4199 4199 | 273 273 | 2005-08-01 13:25:43.000 | 2 2 | 2020-12-23 07:17:40 |
| 10272 | 2005-08-01 03:14:34.000 | 128 128 | 273 273 | 2005-08-10 05:56:34.000 | 2 2 | 2020-12-23 07:17:47 |
| 10753 | 2005-08-01 20:09:24.000 | 1557 1557 | 273 273 | 2005-08-09 19:31:24.000 | 1 1 | 2020-12-23 07:17:54 |
| 10768 | 2005-08-01 20:39:32.000 | 454 454 | 273 273 | 2005-08-10 19:41:32.000 | 1 1 | 2020-12-23 07:17:55 |
| 11282 | 2005-08-02 14:35:03.000 | 1824 1824 | 273 273 | 2005-08-03 16:02:03.000 | 2 2 | 2020-12-23 07:18:01 |
| 11509 | 2005-08-16 23:29:53.000 | 2750 2750 | 273 273 | 2005-08-19 02:09:53.000 | 1 1 | 2020-12-23 07:18:05 |
| 12692 | 2005-08-18 20:09:19.000 | 2781 2781 | 273 273 | 2005-08-21 00:14:19.000 | 1 1 | 2020-12-23 07:18:21 |
| 13738 | 2005-08-20 10:42:42.000 | 2748 2748 | 273 273 | 2005-08-25 09:32:42.000 | 1 1 | 2020-12-23 07:18:37 |
| 13955 | 2005-08-20 18:05:12.000 | 2613 2613 | 273 273 | 2005-08-29 18:25:12.000 | 1 1 | 2020-12-23 07:18:40 |
| 14092 | 2005-08-21 00:14:32.000 | 1596 1596 | 273 273 | 2005-08-24 22:22:32.000 | 2 2 | 2020-12-23 07:18:42 |
| 14558 | 2005-08-21 16:10:50.000 | 3958 3958 | 273 273 | 2005-08-28 16:36:50.000 | 2 2 | 2020-12-23 07:18:49 |
| 14911 | 2005-08-22 04:51:42.000 | 353 353 | 273 273 | 2005-08-28 05:37:42.000 | 1 1 | 2020-12-23 07:18:53 |
| 15372 | 2005-08-22 21:59:51.000 | 3876 3876 | 273 273 | 2005-08-23 17:01:51.000 | 1 1 | 2020-12-23 07:19:00 |
| 15760 | 2005-08-23 12:50:00.000 | 3050 3050 | 273 273 | 2005-08-29 15:41:00.000 | 2 2 | 2020-12-23 07:19:06 |
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) ;