An Error Was Encountered
Error Number: 1064
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 '' at line 5
select job_vacancies.*,regions.rgn_name,offices.* from job_vacancies inner join regions on regions.rgn_id = job_vacancies.rgn_id inner join offices on offices.rgn_id = job_vacancies.rgn_id where job_vacancies.job_id =