@@ -1,3 +1,3 @@
select t1.fbrand, t1.fcontact, t1.faddress, t1.siteid, t1.fphonenumber, t1.fdutyparagraph, t1.saleprodclass,t1.fintroduction,t1.fagentname
from tagents AS t1
- and t1.tagentsid = $tagentsid$ and t1.siteid=$siteid$
+where t1.tagentsid = $tagentsid$ and t1.siteid=$siteid$