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