SQL Query ¿¡·¯ÀÔ´Ï´Ù.
Function Name  query
Error  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 confirm = 'Y' order by grp DESC, stp ASC' at line 1
Error Number  1064
SQL  select id,grp,stp,loc from name114_bbs where db = 'consult' and mode = and confirm = 'Y' order by grp DESC, stp ASC