Sql复合查询笔记

有一个product表:3d 查询每一列之和,按照categorycode select [category], sum([quantity]) Total from [testSql].[dbo].[product] group by [category] 查询最大的category:blog select [category], oneTotal from (select [category]
相关文章
相关标签/搜索