Bo-Blog Database System Tips: MySQL Query Error

Time: 2018-5-25 4:32pm

SQL: SELECT t1.*, t2.* FROM `***blogs` t1 LEFT JOIN `***replies` t2 ON t1.blogid=t2.blogid WHERE t1.blogid=1789 AND<>'2' AND<>'3' ORDER BY t2.reptime LIMIT 0,
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 '' at line 1
Errno.: 1064