here is my query
select narr,vocno,count(*)
from KontenLedger
WHERE VOCDT>'2018-07-01'
group by narr,vocno
having count(*)<'3'
actually if i wright as i given above ,the result which calculates two fields ('narr' and 'vocno') if i remove the field ('narr') answer is correct. i need to view the field 'narr' also without counting
'3'. If you remove the quotes, SQL won't have to implicitly convert it.a_horse_with_no_nameandRichardissimo, it's worthwhile to clarify the database used.