linq到sql中的子选择

linq到sql中的子选择,sql,sql-server,linq,Sql,Sql Server,Linq,我有以下linq查询: select new EmployeeModel { Title = (emp.DEPT == null ? tmsg.Label : db.DEPARTMENT.Where(o => o.Id == emp.DEPT).FirstOrDefault().DEPARTMENT_TRAD.Where(o => o.Language == locale).FirstOrDefault().Label) + " " + DbFunctions.AddMinutes

我有以下linq查询:

select new EmployeeModel
{
 Title = (emp.DEPT == null ? tmsg.Label : db.DEPARTMENT.Where(o => o.Id == emp.DEPT).FirstOrDefault().DEPARTMENT_TRAD.Where(o => o.Language == locale).FirstOrDefault().Label) + " " + DbFunctions.AddMinutes(emp.Date, adjustedoffsetInMins),
}
from DEPARTMENT
where EMPId= 10;
我想将标题select中的子select转换为简单的sql请求。
您知道怎么做吗?

可能不需要使用子查询,因此最好共享数据较少的表以获得更好的答案。可能不需要使用子查询,因此最好共享数据较少的表以获得更好的答案。