遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2010年7月13日 #

多分类产品查询

摘要: 分类是无限级的产品跟分类的关系是多对多需求:查询一组分类下的全部产品,注意给定的分类编号列表中的分类,可能包括下一级分类Select distinctP.ProductId,p.Name From Product pleft join ProductTradeClassMap cmapon p.ProductId=cmap.ProductIdwhere P.IsDeleted=0 And cmap... 阅读全文

posted @ 2010-07-13 09:02 遗忘海岸 阅读(309) 评论(0) 推荐(0) 编辑