"ÍÔ¤¤Ôǫѧ"
áÊ´§ÃÒ¡Ò÷Õè 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 ÃÒ¡Òà | |
|