SELECT b.id, b.parent FROM smcontents_b_news b INNER JOIN smcontents_tree t ON t.id = b.parent AND t.root_id = 1222 WHERE b.url = 'svedeniya-ob-obrazovatelnoy-organizatsii/obrazovanie-1' AND b.visible = 1
MySQL server has gone away