Wenn es also eine N zu 1 Beziehung ist, dann könnte es so funktionieren:
SQL-Code:
select
SNr.SNrArtNr
, ArtMenge.ArtBestand
, count(SNr.SNrArtNr) as Gesamt
from SNr
inner join ArtMenge on SNr.SNrArtNr = ArtMenge.ArtMengeNr
where SNr.SNrStatus = true
group by
SNr.SNrArtNr
, ArtMenge.ArtBestand
having ArtMenge.ArtBestand <> count(SNr.SNrArtNr)
Frank