Àü¼ÛµÈ Äõ¸®¿¡ ¿¡·¯°¡ ÀÖ½À´Ï´Ù.
ERROR_CODE 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 'AND real_data = 'y' and length(thread) = length('')+1 AND locate('',thread) = 1 ' at line 1
SELECT thread,right(thread,1) FROM employ WHERE fid = AND real_data = 'y' and length(thread) = length('')+1 AND locate('',thread) = 1 ORDER BY thread DESC LIMIT 1