SELECT s.[Resu_ID], s.[Rese_ID], s.[Resu_Date]
FROM [Cust].[dbo].[T_Reservations] r
LEFT JOIN [Cust].[dbo].[T_Results] s ON r.Rese_ID = s.Rese_ID
AND s.Resu_ID=(SELECT TOP 1 x.Resu_ID FROM [Cust].[dbo].[T_Results] x
WHERE x.Rese_ID = r.Rese_ID
ORDER BY x.Resu_Date DESC)
SELECT s.[Resu_ID], s.[Rese_ID], s.Resu_Date, (SELECT DATEDIFF(day,s.[Resu_Date],GETDATE())) as Status, s.Resu_Send_Total, s.Resu_Pending
FROM [Cust].[dbo].[T_Reservations] r
LEFT JOIN [Cust].[dbo].[T_Results] s ON r.Rese_ID = s.Rese_ID
AND s.Resu_ID=(SELECT TOP 1 x.Resu_ID FROM [Cust].[dbo].[T_Results] x
WHERE x.Rese_ID = r.Rese_ID
ORDER BY x.Resu_Date DESC)
SELECT s.[Resu_ID], s.[Rese_ID], s.[Resu_Date]
FROM [Cust].[dbo].[T_Reservations] r
LEFT JOIN [Cust].[dbo].[T_Results] s ON r.Rese_ID = s.Rese_ID
AND s.Resu_ID=(SELECT TOP 1 x.Resu_ID FROM [Cust].[dbo].[T_Results] x
WHERE x.Rese_ID = r.Rese_ID
ORDER BY x.Resu_Date DESC)
SELECT s.[Resu_ID], s.[Rese_ID], s.[Resu_Date]
FROM [Cust].[dbo].[T_Reservations] r
LEFT JOIN [Cust].[dbo].[T_Results] s ON r.Rese_ID = s.Rese_ID
AND s.Resu_ID=(SELECT TOP 1 x.Resu_ID FROM [Cust].[dbo].[T_Results] x
WHERE x.Rese_ID = r.Rese_ID
ORDER BY x.Resu_Date DESC)
WHERE r.iStatus=1