"ͧ֡ѡ֡͡"
áÊ´§ÃÒ¡Ò÷Õè 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=20 order by t1.productid desc "ͧ֡ѡ֡͡"
áÊ´§ÃÒ¡Ò÷Õè 1 - 0 ¨Ò¡ 0 ÃÒ¡Òà | |
|