հայերեն  english    
ЦЕРКОВНЫЙ КАЛЕНДАРЬ
ЦЕРКОВНЫЙ КАЛЕНДАРЬ / ЦЕРКОВНЫЙ КАЛЕНДАРЬ
SELECT id_ FROM t_menu WHERE href<>'' AND nn>0 AND nn< AND LENGTH(grp)>2 AND LENGTH(grp)>=5 AND (grp Like '11.01.__' OR grp Like '11.__') 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 '11.01.__' OR grp Like '11.__' at line 1!