rental
30 rows where customer_id = 584
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 |
|---|---|---|---|---|---|---|
| 379 | 2005-05-27 09:25:32.000 | 3462 3462 | 584 584 | 2005-06-02 06:19:32.000 | 1 1 | 2020-12-23 07:15:25 |
| 626 | 2005-05-28 16:58:09.000 | 452 452 | 584 584 | 2005-06-01 14:02:09.000 | 2 2 | 2020-12-23 07:15:28 |
| 920 | 2005-05-30 11:44:01.000 | 3860 3860 | 584 584 | 2005-06-02 08:19:01.000 | 2 2 | 2020-12-23 07:15:32 |
| 1436 | 2005-06-15 18:35:40.000 | 924 924 | 584 584 | 2005-06-21 15:04:40.000 | 1 1 | 2020-12-23 07:15:39 |
| 3317 | 2005-06-21 08:22:32.000 | 4095 4095 | 584 584 | 2005-06-26 14:18:32.000 | 2 2 | 2020-12-23 07:16:05 |
| 3741 | 2005-07-06 12:00:18.000 | 1449 1449 | 584 584 | 2005-07-12 09:02:18.000 | 2 2 | 2020-12-23 07:16:11 |
| 3895 | 2005-07-06 19:04:24.000 | 145 145 | 584 584 | 2005-07-15 17:48:24.000 | 2 2 | 2020-12-23 07:16:14 |
| 4410 | 2005-07-07 21:48:16.000 | 2754 2754 | 584 584 | 2005-07-09 03:15:16.000 | 1 1 | 2020-12-23 07:16:22 |
| 4977 | 2005-07-09 00:15:50.000 | 3310 3310 | 584 584 | 2005-07-10 00:34:50.000 | 2 2 | 2020-12-23 07:16:30 |
| 6954 | 2005-07-26 23:55:13.000 | 1112 1112 | 584 584 | 2005-07-28 19:01:13.000 | 2 2 | 2020-12-23 07:16:59 |
| 7186 | 2005-07-27 08:26:12.000 | 4005 4005 | 584 584 | 2005-07-28 12:21:12.000 | 1 1 | 2020-12-23 07:17:02 |
| 7372 | 2005-07-27 15:18:42.000 | 3202 3202 | 584 584 | 2005-08-01 15:18:42.000 | 2 2 | 2020-12-23 07:17:05 |
| 7659 | 2005-07-28 02:09:45.000 | 1622 1622 | 584 584 | 2005-08-02 05:34:45.000 | 2 2 | 2020-12-23 07:17:10 |
| 8879 | 2005-07-30 00:16:02.000 | 2956 2956 | 584 584 | 2005-08-06 20:10:02.000 | 2 2 | 2020-12-23 07:17:27 |
| 9451 | 2005-07-30 22:10:17.000 | 685 685 | 584 584 | 2005-08-07 02:53:17.000 | 2 2 | 2020-12-23 07:17:36 |
| 9719 | 2005-07-31 08:25:13.000 | 335 335 | 584 584 | 2005-08-05 08:22:13.000 | 1 1 | 2020-12-23 07:17:40 |
| 10073 | 2005-07-31 19:53:15.000 | 4246 4246 | 584 584 | 2005-08-05 23:12:15.000 | 2 2 | 2020-12-23 07:17:45 |
| 10914 | 2005-08-02 02:04:43.000 | 585 585 | 584 584 | 2005-08-06 03:00:43.000 | 1 1 | 2020-12-23 07:17:56 |
| 10966 | 2005-08-02 04:00:47.000 | 478 478 | 584 584 | 2005-08-08 01:58:47.000 | 2 2 | 2020-12-23 07:17:57 |
| 11213 | 2005-08-02 12:18:35.000 | 1007 1007 | 584 584 | 2005-08-05 08:44:35.000 | 2 2 | 2020-12-23 07:18:00 |
| 11500 | 2005-08-16 23:01:22.000 | 4003 4003 | 584 584 | 2005-08-24 22:54:22.000 | 1 1 | 2020-12-23 07:18:05 |
| 12507 | 2005-08-18 13:19:13.000 | 199 199 | 584 584 | 2005-08-27 11:48:13.000 | 2 2 | 2020-12-23 07:18:18 |
| 12541 | 2005-08-18 14:18:30.000 | 4357 4357 | 584 584 | 2005-08-26 10:24:30.000 | 1 1 | 2020-12-23 07:18:19 |
| 12693 | 2005-08-18 20:10:19.000 | 1543 1543 | 584 584 | 2005-08-25 21:11:19.000 | 1 1 | 2020-12-23 07:18:21 |
| 12844 | 2005-08-19 01:59:08.000 | 4146 4146 | 584 584 | 2005-08-24 22:21:08.000 | 1 1 | 2020-12-23 07:18:23 |
| 14102 | 2005-08-21 00:35:21.000 | 3772 3772 | 584 584 | 2005-08-30 04:51:21.000 | 2 2 | 2020-12-23 07:18:42 |
| 14230 | 2005-08-21 04:57:29.000 | 844 844 | 584 584 | 2005-08-27 08:14:29.000 | 2 2 | 2020-12-23 07:18:44 |
| 14447 | 2005-08-21 12:12:05.000 | 1889 1889 | 584 584 | 2005-08-27 14:47:05.000 | 2 2 | 2020-12-23 07:18:47 |
| 14930 | 2005-08-22 05:38:32.000 | 2875 2875 | 584 584 | 2005-08-30 07:21:32.000 | 1 1 | 2020-12-23 07:18:54 |
| 15615 | 2005-08-23 07:06:00.000 | 899 899 | 584 584 | 2005-08-30 11:21:00.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;