rental
33 rows where customer_id = 454
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 |
|---|---|---|---|---|---|---|
| 735 | 2005-05-29 08:08:13.000 | 3421 3421 | 454 454 | 2005-06-07 13:35:13.000 | 1 1 | 2020-12-23 07:15:29 |
| 1647 | 2005-06-16 09:14:58.000 | 1936 1936 | 454 454 | 2005-06-17 10:46:58.000 | 1 1 | 2020-12-23 07:15:41 |
| 1844 | 2005-06-16 23:53:53.000 | 2307 2307 | 454 454 | 2005-06-22 02:19:53.000 | 2 2 | 2020-12-23 07:15:44 |
| 1861 | 2005-06-17 01:17:31.000 | 135 135 | 454 454 | 2005-06-25 02:11:31.000 | 1 1 | 2020-12-23 07:15:45 |
| 1938 | 2005-06-17 07:18:36.000 | 570 570 | 454 454 | 2005-06-19 01:43:36.000 | 2 2 | 2020-12-23 07:15:46 |
| 2048 | 2005-06-17 14:55:29.000 | 2055 2055 | 454 454 | 2005-06-23 16:29:29.000 | 2 2 | 2020-12-23 07:15:47 |
| 2182 | 2005-06-18 00:56:18.000 | 3494 3494 | 454 454 | 2005-06-26 20:01:18.000 | 1 1 | 2020-12-23 07:15:49 |
| 2437 | 2005-06-18 18:30:26.000 | 1799 1799 | 454 454 | 2005-06-21 18:36:26.000 | 1 1 | 2020-12-23 07:15:53 |
| 2666 | 2005-06-19 11:17:12.000 | 1872 1872 | 454 454 | 2005-06-28 12:47:12.000 | 1 1 | 2020-12-23 07:15:56 |
| 3221 | 2005-06-21 01:49:47.000 | 245 245 | 454 454 | 2005-06-25 06:31:47.000 | 1 1 | 2020-12-23 07:16:04 |
| 3362 | 2005-06-21 12:19:54.000 | 1284 1284 | 454 454 | 2005-06-23 06:59:54.000 | 2 2 | 2020-12-23 07:16:06 |
| 3622 | 2005-07-06 06:05:04.000 | 3489 3489 | 454 454 | 2005-07-12 03:14:04.000 | 2 2 | 2020-12-23 07:16:10 |
| 4562 | 2005-07-08 05:08:32.000 | 963 963 | 454 454 | 2005-07-12 08:16:32.000 | 2 2 | 2020-12-23 07:16:24 |
| 5088 | 2005-07-09 05:45:16.000 | 3324 3324 | 454 454 | 2005-07-15 00:41:16.000 | 2 2 | 2020-12-23 07:16:32 |
| 5446 | 2005-07-09 21:59:55.000 | 2769 2769 | 454 454 | 2005-07-11 01:45:55.000 | 2 2 | 2020-12-23 07:16:37 |
| 6260 | 2005-07-11 15:26:29.000 | 4308 4308 | 454 454 | 2005-07-13 17:37:29.000 | 2 2 | 2020-12-23 07:16:49 |
| 6701 | 2005-07-12 12:47:59.000 | 3428 3428 | 454 454 | 2005-07-13 10:28:59.000 | 1 1 | 2020-12-23 07:16:55 |
| 8481 | 2005-07-29 08:45:57.000 | 1739 1739 | 454 454 | 2005-08-01 12:50:57.000 | 2 2 | 2020-12-23 07:17:22 |
| 8806 | 2005-07-29 21:36:34.000 | 4085 4085 | 454 454 | 2005-08-02 00:58:34.000 | 1 1 | 2020-12-23 07:17:26 |
| 9041 | 2005-07-30 06:32:36.000 | 1103 1103 | 454 454 | 2005-08-01 10:28:36.000 | 2 2 | 2020-12-23 07:17:30 |
| 9372 | 2005-07-30 19:04:30.000 | 4075 4075 | 454 454 | 2005-08-09 00:18:30.000 | 2 2 | 2020-12-23 07:17:35 |
| 10005 | 2005-07-31 17:53:51.000 | 928 928 | 454 454 | 2005-08-09 21:39:51.000 | 1 1 | 2020-12-23 07:17:44 |
| 12347 | 2005-08-18 07:18:10.000 | 1788 1788 | 454 454 | 2005-08-19 05:49:10.000 | 1 1 | 2020-12-23 07:18:16 |
| 12553 | 2005-08-18 14:46:54.000 | 2893 2893 | 454 454 | 2005-08-22 13:41:54.000 | 1 1 | 2020-12-23 07:18:19 |
| 13496 | 2005-08-20 01:42:29.000 | 3040 3040 | 454 454 | 2005-08-29 06:47:29.000 | 2 2 | 2020-12-23 07:18:33 |
| 13513 | 2005-08-20 02:27:53.000 | 1653 1653 | 454 454 | 2005-08-22 06:10:53.000 | 1 1 | 2020-12-23 07:18:33 |
| 13694 | 2005-08-20 09:13:23.000 | 3654 3654 | 454 454 | 2005-08-28 06:10:23.000 | 1 1 | 2020-12-23 07:18:36 |
| 13805 | 2005-08-20 12:53:12.000 | 349 349 | 454 454 | 2005-08-27 15:21:12.000 | 1 1 | 2020-12-23 07:18:38 |
| 14799 | 2005-08-22 00:44:57.000 | 1276 1276 | 454 454 | 2005-08-24 20:08:57.000 | 2 2 | 2020-12-23 07:18:52 |
| 14843 | 2005-08-22 02:05:25.000 | 3000 3000 | 454 454 | 2005-08-28 22:11:25.000 | 1 1 | 2020-12-23 07:18:52 |
| 15012 | 2005-08-22 08:42:32.000 | 1584 1584 | 454 454 | 2005-08-28 05:04:32.000 | 1 1 | 2020-12-23 07:18:55 |
| 15301 | 2005-08-22 19:44:16.000 | 619 619 | 454 454 | 2005-08-26 22:57:16.000 | 2 2 | 2020-12-23 07:18:59 |
| 15608 | 2005-08-23 06:55:26.000 | 2921 2921 | 454 454 | 2005-08-28 10:24:26.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) ;