| Finns det personer där sluttyp är 5,6,7,8 i BOENDE där kombinationen av ddbid, bostyp, bosdat inte finns i BOFRSORT? |
with temp as (
select ddbid, bostyp, bosdat
from k137.boende
where bostyp in (5,6,7,8)
except
select ddbid, bostyp, bosdat
from k137.bofrsort
where bostyp in (5,6,7,8)
)
select count(*)
from temp
|
0 |
|
| Finns det personer där sluttyp är 5,6,7,8 i BOFRSORT där kombinationen av ddbid, bostyp, bosdat inte finns i BOENDE? |
with temp as (
select ddbid, bostyp, bosdat
from k137.bofrsort
where bostyp in (5,6,7,8)
except
select ddbid, bostyp, bosdat
from k137.boende
where bostyp in (5,6,7,8)
)
select count(*)
from temp
|
0 |
|