русский  english    
ԳԼԽԱՎՈՐ
ԳԼԽԱՎՈՐ / ԱՐԴԻԱԿԱՆ ԽՆԴԻՐՆԵՐ
SELECT id_ FROM t_menu WHERE href<>'' AND nn>0 AND nn< AND LENGTH(grp)>2 AND LENGTH(grp)>=5 AND (grp Like '01.04.__' OR grp Like '01.__') ORDER BY nn DESC LIMIT 1
Error: 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 LENGTH(grp)>2 AND LENGTH(grp)>=5 AND (grp Like '01.04.__' OR grp Like '01.__' at line 1!