public void KT1_Sprint3_GetGroupList()
{
string Query =
"SELECT name,alias,emailAdd FROM dbo.UserAccountDetailsList ua
WITH (NOLOCK) INNER JOIN dbo.UserTestType ut WITH (NOLOCK) ON
ua.UserTestTypeId = ut.UserTestTypeID WHERE ut.Code in
('Distribution','TestGroup') and ua.IsActive = 1";
SQlOperation(Query);
??????
}
我需要计算查询数。我需要编写另一个 SQL 查询吗?