| account_id |
service_id |
FromDate |
ToDate |
details |
| 1 |
1 |
2001-02-02 |
null |
(no to_date since still living there) |
| 2 |
2 |
1978-06-12 |
2020-01-15 |
(moved in and moved out) |
| 3 |
3 |
2020-10-15 |
2021-12-14 |
(live there from Oct. 2020 - Dec. 2021) |
| 4 |
4 |
2021-12-14 |
2022-12-09 |
(live there from Dec. 2021 - Dec. 2022) |
| 3 |
5 |
2022-12-09 |
null |
(moved in Dec. 2022 and still there now) |
| propertynumber |
accountnumber |
fromdate |
todate |
OccupationSequence |
| 00005110 |
**267110** |
2020-10-15 |
2021-12-14 |
2 |
| 00005110 |
**267110** |
2022-12-09 |
null |
1 |
| 00005110 |
273341 |
2021-12-14 |
2022-12-09 |
1 |
| 00125466 |
146732 |
2001-02-02 |
null |
1 |
| 10085279 |
180887 |
1978-06-12 |
2020-01-15 |
1 |
| propertynumber |
accountnumber |
MinFrom |
MaxTo |
| 00005110 |
**267110** |
2022-12-09 |
null |
| 00005110 |
273341 |
2021-12-14 |
2022-12-09 |
| 00005110 |
**267110** |
2020-10-15 |
2021-12-14 |
Warning: Null value is eliminated by an aggregate or other SET operation.