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.138.33.87' AND (tm+'900')>'1715044033'