摘要:
select * from [dbo].[AccountsInfo](nolock) where Accounts='lqm123123'select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tab... 阅读全文
摘要:
如:select Id,Name ,count(*) from Tablename group by Id .只按照Id分组,name不加入分组条件但是要在结果中显示出来?请问如何写呢?以及为什么要这样写呢?select Id,max(Name) ,count(*) from Tablename g... 阅读全文