Following SQL query:
select * from er_101
where cd_relnaam IN (
select cd_relnaam
from er_101
group by cd_relnaam
having count(*) > 1)
AND ld_relopdrachtgever = '1'
Though I need to have that sub query also limits on ld_relopdrachtgever = '1'
How is that possible with an HAVING statement?