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