"´ÃÒ¡é͹ºÍÅá«´"
áÊ´§ÃÒ¡Ò÷Õè 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=54 order by t1.productid desc "´ÃÒ¡é͹ºÍÅá«´"
áÊ´§ÃÒ¡Ò÷Õè 1 - 0 ¨Ò¡ 0 ÃÒ¡Òà | |
|