SELECT count(m.id) as cnt FROM `member` as m WHERE 1 AND `show` = "y" AND `category_page` LIKE "%%" ORDER BY m.`order_` ASC, m.`id` ASC;