| Finns det personer där starttyp är 5,6,7,8 i BOENDE där kombinationen av ddbid, bobtyp, bobdat inte finns i BOORT? |
with temp as (
select ddbid, bobtyp, bobdat
from k137.boende
where bobtyp in (5,6,7,8)
except
select ddbid, bobtyp, bobdat
from k137.boort
where bobtyp in (5,6,7,8)
)
select count(*)
from temp
|
0 |
|
| Finns det personer där starttyp är 5,6,7,8 i BOORT där kombinationen av ddbid, bobtyp, bobdat inte finns i BOENDE? |
with temp as (
select ddbid, bobtyp, bobdat
from k137.boort
where bobtyp in (5,6,7,8)
except
select ddbid, bobtyp, bobdat
from k137.boende
where bobtyp in (5,6,7,8)
)
select count(*)
from temp
|
0 |
|