select * from article_categories where (public=1) order by n asc , id asc limit 0, 20link: Resource id #16Unknown column 'n' in 'order clause'