ERROR : Query ¿¡·¯

Query : select id, title from _qna where tid< and depth=0 order by tid desc limit 1

You have an error in your SQL syntax near 'and depth=0 order by tid desc limit 1' at line 1