select id, melding, visibilitycode, priorcode, sticky, duur, once from amsac_extrameldingen where start<= CURRENT_DATE() and einde>= CURRENT_DATE() and (visibilitycode=2 or visibilitycode>=3) order by priorcode;


Fout