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 length(bddt_thread)=1 group by bddt_num limit 1' at line 1
쿼리내용 - 쓰레드 정보 추출
쿼리 - select bddt_subject,min(bddt_num) as bddtNum,bddt_file1 from board3_board_data_table where bddt_num > 387 and bddt_fid != and length(bddt_thread)=1 group by bddt_num limit 1