rental
25 rows where customer_id = 537
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 |
|---|---|---|---|---|---|---|
| 603 | 2005-05-28 14:27:51.000 | 3248 3248 | 537 537 | 2005-05-29 13:13:51.000 | 1 1 | 2020-12-23 07:15:27 |
| 1445 | 2005-06-15 19:10:07.000 | 3189 3189 | 537 537 | 2005-06-19 20:27:07.000 | 2 2 | 2020-12-23 07:15:39 |
| 2184 | 2005-06-18 01:10:36.000 | 3468 3468 | 537 537 | 2005-06-21 05:59:36.000 | 2 2 | 2020-12-23 07:15:49 |
| 2586 | 2005-06-19 05:05:11.000 | 4104 4104 | 537 537 | 2005-06-27 00:23:11.000 | 1 1 | 2020-12-23 07:15:55 |
| 3134 | 2005-06-20 19:29:09.000 | 1389 1389 | 537 537 | 2005-06-29 19:31:09.000 | 2 2 | 2020-12-23 07:16:02 |
| 3555 | 2005-07-06 02:45:35.000 | 869 869 | 537 537 | 2005-07-10 07:17:35.000 | 1 1 | 2020-12-23 07:16:09 |
| 3853 | 2005-07-06 16:59:20.000 | 1411 1411 | 537 537 | 2005-07-07 12:30:20.000 | 2 2 | 2020-12-23 07:16:13 |
| 5630 | 2005-07-10 06:08:14.000 | 1151 1151 | 537 537 | 2005-07-14 03:37:14.000 | 2 2 | 2020-12-23 07:16:40 |
| 5877 | 2005-07-10 19:08:51.000 | 1520 1520 | 537 537 | 2005-07-19 19:48:51.000 | 1 1 | 2020-12-23 07:16:43 |
| 6310 | 2005-07-11 18:14:05.000 | 3064 3064 | 537 537 | 2005-07-16 15:39:05.000 | 2 2 | 2020-12-23 07:16:49 |
| 6409 | 2005-07-11 23:05:49.000 | 3859 3859 | 537 537 | 2005-07-13 00:13:49.000 | 2 2 | 2020-12-23 07:16:51 |
| 6746 | 2005-07-12 14:33:01.000 | 3127 3127 | 537 537 | 2005-07-17 19:52:01.000 | 2 2 | 2020-12-23 07:16:56 |
| 7179 | 2005-07-27 08:10:29.000 | 2365 2365 | 537 537 | 2005-07-28 12:24:29.000 | 2 2 | 2020-12-23 07:17:02 |
| 7810 | 2005-07-28 08:00:38.000 | 30 30 | 537 537 | 2005-08-02 06:14:38.000 | 2 2 | 2020-12-23 07:17:12 |
| 8126 | 2005-07-28 19:32:41.000 | 719 719 | 537 537 | 2005-08-05 00:33:41.000 | 2 2 | 2020-12-23 07:17:16 |
| 8256 | 2005-07-29 01:02:42.000 | 1483 1483 | 537 537 | 2005-07-31 22:29:42.000 | 2 2 | 2020-12-23 07:17:18 |
| 9967 | 2005-07-31 16:31:17.000 | 958 958 | 537 537 | 2005-08-06 13:52:17.000 | 1 1 | 2020-12-23 07:17:43 |
| 12984 | 2005-08-19 07:06:51.000 | 4211 4211 | 537 537 | 2005-08-22 04:04:51.000 | 1 1 | 2020-12-23 07:18:25 |
| 13419 | 2006-02-14 15:16:03.000 | 3507 3507 | 537 537 | 1 1 | 2020-12-23 07:18:32 | |
| 13885 | 2005-08-20 15:32:09.000 | 3195 3195 | 537 537 | 2005-08-26 15:54:09.000 | 1 1 | 2020-12-23 07:18:39 |
| 14010 | 2005-08-20 20:29:46.000 | 934 934 | 537 537 | 2005-08-26 17:37:46.000 | 2 2 | 2020-12-23 07:18:41 |
| 14506 | 2005-08-21 14:32:27.000 | 4493 4493 | 537 537 | 2005-08-24 19:02:27.000 | 2 2 | 2020-12-23 07:18:48 |
| 14670 | 2005-08-21 19:54:11.000 | 4324 4324 | 537 537 | 2005-08-27 21:42:11.000 | 2 2 | 2020-12-23 07:18:50 |
| 15149 | 2005-08-22 14:08:06.000 | 3059 3059 | 537 537 | 2005-08-25 08:25:06.000 | 1 1 | 2020-12-23 07:18:57 |
| 15832 | 2005-08-23 15:21:35.000 | 1468 1468 | 537 537 | 2005-08-30 15:01:35.000 | 2 2 | 2020-12-23 07:19:07 |
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) ;