rental
25 rows where customer_id = 63
This data as json, xlsx, CSV (advanced)
Suggested facets: 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 |
|---|---|---|---|---|---|---|
| 1818 | 2005-06-16 21:30:34.000 | 1218 1218 | 63 63 | 2005-06-20 03:27:34.000 | 2 2 | 2020-12-23 07:15:44 |
| 3923 | 2005-07-06 20:34:10.000 | 2039 2039 | 63 63 | 2005-07-13 19:20:10.000 | 1 1 | 2020-12-23 07:16:14 |
| 4587 | 2005-07-08 06:16:26.000 | 3502 3502 | 63 63 | 2005-07-13 00:59:26.000 | 1 1 | 2020-12-23 07:16:24 |
| 5585 | 2005-07-10 04:15:43.000 | 3524 3524 | 63 63 | 2005-07-15 08:24:43.000 | 1 1 | 2020-12-23 07:16:39 |
| 5788 | 2005-07-10 14:10:22.000 | 1707 1707 | 63 63 | 2005-07-14 19:46:22.000 | 2 2 | 2020-12-23 07:16:42 |
| 5832 | 2005-07-10 16:34:48.000 | 2387 2387 | 63 63 | 2005-07-17 17:25:48.000 | 1 1 | 2020-12-23 07:16:43 |
| 6769 | 2005-07-12 15:48:54.000 | 1687 1687 | 63 63 | 2005-07-21 14:39:54.000 | 2 2 | 2020-12-23 07:16:56 |
| 6847 | 2005-07-12 19:22:37.000 | 346 346 | 63 63 | 2005-07-21 18:53:37.000 | 2 2 | 2020-12-23 07:16:57 |
| 8311 | 2005-07-29 03:26:07.000 | 3623 3623 | 63 63 | 2005-08-02 01:46:07.000 | 1 1 | 2020-12-23 07:17:19 |
| 9007 | 2005-07-30 05:09:32.000 | 2813 2813 | 63 63 | 2005-08-02 06:12:32.000 | 2 2 | 2020-12-23 07:17:29 |
| 9546 | 2005-07-31 01:47:40.000 | 211 211 | 63 63 | 2005-08-02 07:25:40.000 | 2 2 | 2020-12-23 07:17:37 |
| 9549 | 2005-07-31 01:57:04.000 | 2409 2409 | 63 63 | 2005-08-07 21:00:04.000 | 2 2 | 2020-12-23 07:17:37 |
| 9795 | 2005-07-31 10:47:19.000 | 2005 2005 | 63 63 | 2005-08-04 09:32:19.000 | 2 2 | 2020-12-23 07:17:41 |
| 9938 | 2005-07-31 15:28:47.000 | 2871 2871 | 63 63 | 2005-08-09 21:24:47.000 | 2 2 | 2020-12-23 07:17:43 |
| 10148 | 2005-07-31 22:19:16.000 | 1381 1381 | 63 63 | 2005-08-05 00:15:16.000 | 2 2 | 2020-12-23 07:17:46 |
| 10288 | 2005-08-01 03:38:42.000 | 572 572 | 63 63 | 2005-08-06 04:34:42.000 | 1 1 | 2020-12-23 07:17:48 |
| 11902 | 2005-08-17 15:37:34.000 | 1387 1387 | 63 63 | 2005-08-22 17:28:34.000 | 2 2 | 2020-12-23 07:18:10 |
| 12342 | 2005-08-18 07:12:46.000 | 1408 1408 | 63 63 | 2005-08-21 07:44:46.000 | 1 1 | 2020-12-23 07:18:16 |
| 12515 | 2005-08-18 13:39:26.000 | 2703 2703 | 63 63 | 2005-08-22 09:05:26.000 | 1 1 | 2020-12-23 07:18:18 |
| 12954 | 2005-08-19 06:04:34.000 | 3592 3592 | 63 63 | 2005-08-28 02:12:34.000 | 2 2 | 2020-12-23 07:18:24 |
| 13089 | 2005-08-19 10:38:56.000 | 1783 1783 | 63 63 | 2005-08-24 12:41:56.000 | 1 1 | 2020-12-23 07:18:26 |
| 13624 | 2005-08-20 06:51:02.000 | 430 430 | 63 63 | 2005-08-29 02:39:02.000 | 1 1 | 2020-12-23 07:18:35 |
| 14931 | 2005-08-22 05:38:55.000 | 657 657 | 63 63 | 2005-08-28 04:15:55.000 | 2 2 | 2020-12-23 07:18:54 |
| 15060 | 2005-08-22 10:24:32.000 | 2740 2740 | 63 63 | 2005-08-31 11:17:32.000 | 2 2 | 2020-12-23 07:18:56 |
| 15229 | 2005-08-22 17:30:25.000 | 320 320 | 63 63 | 2005-08-23 14:13:25.000 | 1 1 | 2020-12-23 07:18:58 |
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) ;