| Finns det personer där sluttyp är 5,6,7,8 i BOFRSORT där kombinationen av ddbid, bostyp, bosdat inte finns i BOORT? |
with temp as (
select ddbid, bostyp, bosdat
from k137.bofrsort
where bostyp in (5,6,7,8)
except
select ddbid, bostyp, bosdat
from k137.boort
where bostyp in (5,6,7,8)
)
select count(*)
from temp
|
0 |
|
| Finns det personer där sluttyp är 5,6,7,8 i BOORT där kombinationen av ddbid, bostyp, bosdat inte finns i BOFRSORT? |
with temp as (
select ddbid, bostyp, bosdat
from k137.boort
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 |
|