հայերեն  english    
SELECT id_ FROM t_menu WHERE href<>'' AND nn>0 AND nn< AND LENGTH(grp)>2 AND LENGTH(grp)>=2 AND (grp Like '01.__' OR grp Like '__') 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)>=2 AND (grp Like '01.__' OR grp Like '__') ORD' at line 1!