syntax error: select id,ten from table_news where hienthi=1 and id!='297' and id_cat='1' order by rand() limit 0,10