How to optimize this subquery (without using Select inside Where clause)?
I am trying to see if there is a way to optimize bottom T-SQL code. This is how previous co-worker wrote, and I am not sure if there is a better way to write because it has Select… within Where clause (subquery?). select Employee_Number, DateLoad from dbo.table1 as a where DateLoad = (select min(DateLoad) from… Read More How to optimize this subquery (without using Select inside Where clause)?