99问答网
所有问题
sql server分组查询数据!!
左边查到的数据想显示成右边的格式怎么写??
想查询成这种格式
急啊!!!
举报该问题
推荐答案 2017-07-21
select top 1 child as c, epc_name from tablename
group by child
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/veBz7WBvvztvv77tte.html
相似回答
大家正在搜
相关问题
如何用SQL SERVER取分组数据第一条
各位高手能告诉我SQL中的Group By的查询过程 多列分...
SQL分组查询 每个分组取一个数据
SQL在分组查询时,怎么获取最新一条记录
sql按字段分组,并且找出每组的第一条数据
SQL分组查询,各个组的数据量不确定,如何把同一组的信息集中...
SQL SERVER分组随机查询
SQL Server中如何分组查询最大值