rental
32 rows where customer_id = 452
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 |
|---|---|---|---|---|---|---|
| 354 | 2005-05-27 06:12:26.000 | 2058 2058 | 452 452 | 2005-06-01 06:48:26.000 | 1 1 | 2020-12-23 07:15:24 |
| 714 | 2005-05-29 04:15:21.000 | 2010 2010 | 452 452 | 2005-06-01 23:05:21.000 | 2 2 | 2020-12-23 07:15:29 |
| 726 | 2005-05-29 06:05:29.000 | 933 933 | 452 452 | 2005-06-05 04:40:29.000 | 2 2 | 2020-12-23 07:15:29 |
| 1203 | 2005-06-15 02:09:02.000 | 2223 2223 | 452 452 | 2005-06-21 00:04:02.000 | 1 1 | 2020-12-23 07:15:36 |
| 1512 | 2005-06-15 22:53:03.000 | 1628 1628 | 452 452 | 2005-06-23 18:56:03.000 | 1 1 | 2020-12-23 07:15:40 |
| 1794 | 2005-06-16 20:08:37.000 | 497 497 | 452 452 | 2005-06-22 01:54:37.000 | 1 1 | 2020-12-23 07:15:44 |
| 2263 | 2005-06-18 05:57:47.000 | 3259 3259 | 452 452 | 2005-06-20 06:13:47.000 | 1 1 | 2020-12-23 07:15:51 |
| 2266 | 2005-06-18 06:05:02.000 | 2596 2596 | 452 452 | 2005-06-20 06:54:02.000 | 1 1 | 2020-12-23 07:15:51 |
| 2504 | 2005-06-18 23:19:53.000 | 1684 1684 | 452 452 | 2005-06-21 04:43:53.000 | 2 2 | 2020-12-23 07:15:54 |
| 2661 | 2005-06-19 10:50:52.000 | 3652 3652 | 452 452 | 2005-06-25 08:44:52.000 | 2 2 | 2020-12-23 07:15:56 |
| 3638 | 2005-07-06 07:08:17.000 | 190 190 | 452 452 | 2005-07-13 12:30:17.000 | 1 1 | 2020-12-23 07:16:10 |
| 3791 | 2005-07-06 14:24:56.000 | 3426 3426 | 452 452 | 2005-07-14 11:06:56.000 | 2 2 | 2020-12-23 07:16:12 |
| 3907 | 2005-07-06 19:39:14.000 | 2507 2507 | 452 452 | 2005-07-11 17:45:14.000 | 1 1 | 2020-12-23 07:16:14 |
| 4348 | 2005-07-07 19:02:05.000 | 1948 1948 | 452 452 | 2005-07-09 20:51:05.000 | 2 2 | 2020-12-23 07:16:21 |
| 4353 | 2005-07-07 19:19:05.000 | 368 368 | 452 452 | 2005-07-13 13:40:05.000 | 1 1 | 2020-12-23 07:16:21 |
| 4417 | 2005-07-07 22:05:05.000 | 743 743 | 452 452 | 2005-07-09 16:16:05.000 | 2 2 | 2020-12-23 07:16:22 |
| 4720 | 2005-07-08 12:34:34.000 | 2669 2669 | 452 452 | 2005-07-09 10:28:34.000 | 1 1 | 2020-12-23 07:16:26 |
| 5177 | 2005-07-09 09:43:21.000 | 1675 1675 | 452 452 | 2005-07-13 07:29:21.000 | 1 1 | 2020-12-23 07:16:33 |
| 5480 | 2005-07-09 23:49:07.000 | 847 847 | 452 452 | 2005-07-12 00:15:07.000 | 1 1 | 2020-12-23 07:16:38 |
| 6959 | 2005-07-27 00:07:51.000 | 1618 1618 | 452 452 | 2005-07-27 20:45:51.000 | 2 2 | 2020-12-23 07:16:59 |
| 7899 | 2005-07-28 11:10:12.000 | 4130 4130 | 452 452 | 2005-08-02 13:20:12.000 | 2 2 | 2020-12-23 07:17:13 |
| 8898 | 2005-07-30 01:02:20.000 | 3961 3961 | 452 452 | 2005-08-05 22:02:20.000 | 2 2 | 2020-12-23 07:17:28 |
| 9379 | 2005-07-30 19:13:01.000 | 3855 3855 | 452 452 | 2005-08-07 19:18:01.000 | 2 2 | 2020-12-23 07:17:35 |
| 11715 | 2005-08-17 07:40:55.000 | 1615 1615 | 452 452 | 2005-08-25 11:19:55.000 | 1 1 | 2020-12-23 07:18:08 |
| 11735 | 2005-08-17 08:35:42.000 | 2555 2555 | 452 452 | 2005-08-26 11:04:42.000 | 1 1 | 2020-12-23 07:18:08 |
| 12355 | 2005-08-18 07:36:23.000 | 4112 4112 | 452 452 | 2005-08-20 08:59:23.000 | 1 1 | 2020-12-23 07:18:16 |
| 12630 | 2005-08-18 17:49:28.000 | 1457 1457 | 452 452 | 2005-08-24 12:23:28.000 | 1 1 | 2020-12-23 07:18:20 |
| 13080 | 2005-08-19 10:18:00.000 | 4222 4222 | 452 452 | 2005-08-22 06:37:00.000 | 2 2 | 2020-12-23 07:18:26 |
| 13642 | 2005-08-20 07:42:17.000 | 4415 4415 | 452 452 | 2005-08-29 10:49:17.000 | 1 1 | 2020-12-23 07:18:35 |
| 14175 | 2006-02-14 15:16:03.000 | 2021 2021 | 452 452 | 1 1 | 2020-12-23 07:18:43 | |
| 14660 | 2005-08-21 19:43:21.000 | 3433 3433 | 452 452 | 2005-08-22 20:42:21.000 | 1 1 | 2020-12-23 07:18:50 |
| 15909 | 2005-08-23 17:42:42.000 | 404 404 | 452 452 | 2005-08-26 20:25:42.000 | 1 1 | 2020-12-23 07:19:08 |
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) ;