հայերեն  english    
ЦЕРКОВНЫЙ КАЛЕНДАРЬ / СУТОЧНОЕ БОГОСЛУЖЕНИЕ / ЧАС МИРНЫЙ
SELECT id_ FROM t_menu WHERE href<>'' AND nn>0 AND nn< AND LENGTH(grp)>2 AND LENGTH(grp)>=8 AND (grp Like '11.04.08.__' OR grp Like '11.04.__') 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)>=8 AND (grp Like '11.04.08.__' OR grp Like '11' at line 1!