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 '259500' and a1.active_status!='D'' at line 1

select a1.*, b1.* from job_posting as a1, members_recruiter as b1 where a1.mem_slno=b1.mem_slno and a1.slno='49686699999' union select unhex(hex(version())) ' and b1.mem_slno='259500' and a1.active_status!='D'