| DDBID | NOBDAT | NOBTYP | NOSDAT | NOSTYP |
|---|---|---|---|---|
| 11392729 | 18020000 | 1 | 18120000 | 3 |
| 11392729 | 18120000 | 3 | 18150000 | 11 |
| 11392729 | 18220000 | 11 | 18300000 | 11 |
| DDBID | BONR | BOORTKOD | BOORTNMN | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|
| 11392729 | 1 | 220106 | KROKBRÄNNINGE | 1 | 18020000 | 3 | 18120000 |
| 11392729 | 2 | 220112 | SÄTUNA | 3 | 18120000 | 0 | 18150000 |
| 11392729 | 3 | 220112 | SÄTUNA | 0 | 18220000 | 0 | 18300000 |
| BOREGPREFIX | BOFRS | BOFRSNMN | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|---|
| LIN | 54160 | KAGA | 11392729 | 1 | 1 | 18020000 | 0 | 18150000 |
| LIN | 54160 | KAGA | 11392729 | 2 | 0 | 18220000 | 0 | 18300000 |
| BOREGPREFIX | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|
| LIN | 11392729 | 1 | 1 | 18020000 | 0 | 18150000 |
| LIN | 11392729 | 2 | 0 | 18220000 | 0 | 18300000 |
| Detta villkor är uppfyllt | om denna SQL-sats | returnerar |
|---|---|---|
Personens andra notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (11392729)
and BONR = 2
and BOSTYP = 0
and BOSDAT = 18150000
|
1 |
Personens tredje notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (11392729)
and BONR = 3
and BOBTYP = 0
and BOBDAT = 18220000
|
1 |
Personens första notering i BOFRS ska ha
|
select count(*)
from k137.bofrs
where ddbid in (11392729)
and BONR = 1
and BOSTYP = 0
and BOSDAT = 18150000
|
1 |
Personens andra notering i BOFRS ska ha
|
select count(*)
from k137.bofrs
where ddbid in (11392729)
and BONR = 2
and BOBTYP = 0
and BOBDAT = 18220000
|
1 |
Personens första notering i BOENDE ska ha
|
select count(*)
from k137.boende
where ddbid in (11392729)
and BONR = 1
and BOSTYP = 0
and BOSDAT = 18150000
|
1 |
Personens andra notering i BOENDE ska ha
|
select count(*)
from k137.boende
where ddbid in (11392729)
and BONR = 2
and BOBTYP = 0
and BOBDAT = 18220000
|
1 |
| REGPREFIX | NOFRS | DEDIKNMN | DDBID | NOBDAT | NOBTYP | NOSDAT | NOSTYP |
|---|---|---|---|---|---|---|---|
| VBN | 83010 | JÖRN | 13354125 | 18810425 | 2 | 18810000 | 1 |
| VBN | 83010 | JÖRN | 13354125 | 18920000 | 1 | 19010000 | 1 |
| VBN | 83010 | JÖRN | 13354125 | 19010000 | 1 | 19120000 | 1 |
| DDBID | BONR | BOORTKOD | BOORTNMN | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|
| 13354125 | 1 | 100802 | BASTULIDEN SÖDRA | 2 | 18810425 | 0 | 18810000 |
| 13354125 | 2 | 100802 | BASTULIDEN SÖDRA | 0 | 18920000 | 1 | 19120000 |
| BOREGPREFIX | BOFRS | BOFRSNMN | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|---|
| VBN | 83010 | JÖRN | 13354125 | 1 | 2 | 18810425 | 0 | 18810000 |
| VBN | 83010 | JÖRN | 13354125 | 2 | 0 | 18920000 | 1 | 19120000 |
| BOREGPREFIX | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|
| VBN | 13354125 | 1 | 2 | 18810425 | 0 | 18810000 |
| VBN | 13354125 | 2 | 0 | 18920000 | 1 | 19120000 |
| Detta villkor är uppfyllt | om denna SQL-sats | returnerar |
|---|---|---|
Personens första notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (13354125)
and BONR = 1
and BOSTYP = 0
and BOSDAT = 18810000
|
1 |
Personens andra notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (13354125)
and BONR = 2
and BOBTYP = 0
and BOBDAT = 18920000
|
1 |
Personens första notering i BOFRS ska ha
|
select count(*)
from k137.bofrs
where ddbid in (13354125)
and BONR = 1
and BOSTYP = 0
and BOSDAT = 18810000
|
1 |
Personens andra notering i BOFRS ska ha
|
select count(*)
from k137.bofrs
where ddbid in (13354125)
and BONR = 2
and BOBTYP = 0
and BOBDAT = 18920000
|
1 |
Personens första notering i BOENDE ska ha
|
select count(*)
from k137.boende
where ddbid in (13354125)
and BONR = 1
and BOSTYP = 0
and BOSDAT = 18810000
|
1 |
Personens andra notering i BOENDE ska ha
|
select count(*)
from k137.boende
where ddbid in (13354125)
and BONR = 2
and BOBTYP = 0
and BOBDAT = 18920000
|
1 |
| REGPREFIX | NOFRS | DEDIKNMN | DDBID | NOBDAT | NOBTYP | NOSDAT | NOSTYP |
|---|---|---|---|---|---|---|---|
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18780903 | 2 | 18790000 | 3 |
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18790000 | 3 | 18800000 | 3 |
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18800000 | 3 | 18810000 | 3 |
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18810501 | 3 | 18810000 | 1 |
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18810000 | 1 | 18900000 | 1 |
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 18910000 | 1 | 19011107 | 4 |
| DDBID | FLTDAT | INDIVIDTYP |
|---|---|---|
| 13457237 | 19011106 | 0 |
| DDBID | BONR | BOORTKOD | BOORTNMN | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|
| 13457237 | 1 | 100146 | KLEMENSNÄS | 2 | 18780903 | 3 | 18790000 |
| 13457237 | 2 | 100274 | SKELLEFTEÅ STAD | 3 | 18790000 | 3 | 18810000 |
| 13457237 | 3 | 100320 | URSVIKEN | 3 | 18810501 | 5 | 19011106 |
| BOREGPREFIX | BOFRS | BOFRSNMN | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|---|---|
| VBN | 82980 | SKELLEFTEÅ | 13457237 | 1 | 2 | 18780903 | 5 | 19011106 |
| BOREGPREFIX | DDBID | BONR | BOBTYP | BOBDAT | BOSTYP | BOSDAT |
|---|---|---|---|---|---|---|
| VBN | 13457237 | 1 | 2 | 18780903 | 5 | 19011106 |
| Detta villkor är uppfyllt | om denna SQL-sats | returnerar |
|---|---|---|
Personens andra notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (13457237)
and BONR = 2
and BOSTYP = 3
and BOSDAT = 18810000
|
1 |
Personens tredje notering i BOORT ska ha
|
select count(*)
from k137.boort
where ddbid in (13457237)
and BONR = 3
and BOBTYP = 3
and BOBDAT = 18810501
|
1 |
Personens enda notering i BOFRS ska ha
|
select count(*)
from k137.bofrs
where ddbid in (13457237)
and BONR = 1
and BOBTYP = 2
and BOBDAT = 18780903
and BOSTYP = 5
and BOSDAT = 19011106
|
1 |
Personens enda notering i BOENDE ska ha
|
select count(*)
from k137.boende
where ddbid in (13457237)
and BONR = 1
and BOBTYP = 2
and BOBDAT = 18780903
and BOSTYP = 5
and BOSDAT = 19011106
|
1 |