"เธงเธฑเธ�เธ�เธตเธ�"
áÊ´§ÃÒ¡Ò÷Õè 1 - 0 ¨Ò¡ 0 ÃÒ¡Òà | |
äÁ辺ÃÒ¡Ò÷Õè¤é¹ËÒ - "เธงเธฑเธ�เธ�เธตเธ�" - ¡ÃسÒàÅ×Í¡ãËÁè
select t1.productid,t1.ean,t1.typeid,t1.productname, t1.title_e, t1.sellprice,
t1.displayprice, t1.hotprice,t1.sprodcode from product as t1 left outer join characters as t2 on t2.charactersid=t1.charactersid left outer join description as t3 on t3.ean=t1.ean join supplier as t4 on t4.supplierid=t1.supplierid left outer join brand as t5 on t5.brandid=t1.brandid left outer join studio as t6 on t6.studioid=t1.studioid
left outer join category as t7 on t7.categoryid=t1.categoryid1
left outer join category as t8 on t8.categoryid=t1.categoryid2
left outer join category as t9 on t9.categoryid=t1.categoryid3
where (
t1.productname LIKE '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.productid like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.title_e LIKE '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.keywords LIKE '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.productid LIKE '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.ean LIKE '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t1.tags like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t2.charactersname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t2.charactersnamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t2.tags like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t3.description like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t4.suppliername like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t5.brandname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t5.brandnamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t6.studioname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t6.studionamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t7.categoryname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t7.categorynamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t8.categoryname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t8.categorynamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t9.categoryname like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
or t9.categorynamee like '%%เธงเธฑเธ�เธ�เธตเธ�%%'
)
and t1.approved=1 and typeid!=40 and typeid=56 order by t1.productid desc "เธงเธฑเธ�เธ�เธตเธ�"
áÊ´§ÃÒ¡Ò÷Õè 1 - 0 ¨Ò¡ 0 ÃÒ¡Òà | |
|