select *, (select UserName from T_Users where Id=AssayUserId) as AssayUserName, (select UserName from T_Users where Id=AnalyzeUserId) as AnalyzeUserName from T_task
select *, (select UserName from T_Users where Id=AssayUserId) as AssayUserName, (select UserName from T_Users where Id=AnalyzeUserId) as AnalyzeUserName from T_task