syntax error: select * from table_tin3cap where hienthi=1 and id!='294' and id_cat=50 order by RAND() limit 0,10