摘要:
select * from [dbo].[AccountsInfo](nolock) where Accounts='lqm123123'select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tab... 阅读全文
posted @ 2015-09-25 15:10
唔愛吃蘋果
阅读(294)
评论(0)
推荐(0)
摘要:
如:select Id,Name ,count(*) from Tablename group by Id .只按照Id分组,name不加入分组条件但是要在结果中显示出来?请问如何写呢?以及为什么要这样写呢?select Id,max(Name) ,count(*) from Tablename g... 阅读全文
posted @ 2015-09-25 14:47
唔愛吃蘋果
阅读(854)
评论(0)
推荐(0)
浙公网安备 33010602011771号