Baanbrekend in Recruitment!

SELECT vacancymanager. * , STR_TO_DATE(, '%d/%m/%Y' ) AS realdate, AS catname, AS regioname FROM vacancymanager INNER JOIN vacancycategory ON vacancymanager.category = vacancycategory.catid INNER JOIN regio ON vacancymanager.region = regio.regioid WHERE vacancymanager.published =1 AND vacancymanager.closed=0 AND (vacancymanager.vgid = OR vacancymanager.region =),You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR vacancymanager.region =)' at line 2