SELECT * FROM `sections` WHERE published = 1 AND parent = 0 AND show_in_sections = 1 ORDER BY ordering ASC