摘要: select * from dbo.Vehicle_Maintain_Details A inner join (select MaintainType as tempTypeName,count(ID) as num from dbo.Vehicle_Maintain_Details group by MaintainType) B on A.MaintainType=B.tempTypeName 阅读全文
posted @ 2013-01-09 17:59 +-/\-+ 阅读(969) 评论(0) 推荐(0) 编辑