query:
SELECT * FROM data_auction WHERE dept1 = AND systemid = 1 ORDER BY bl_prio DESC, dept1, dept2, dept3, dept4, dept5, dept6, dept7, dept8, dept9, dept10, dept11, dept12
has failed! 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 'AND systemid = 1 ORDER BY bl_prio DESC, dept1, dept2, dept3, dept4, dept5, dept6' at line 1