select * from #_product where hienthi=1 and id_item='' order by ngaytao,stt descsyntax error: SELECT COUNT(*) AS visitip FROM table_counter WHERE ip='18.119.111.9' AND (tm+'900')>'1715020139'