I used this command in Sql Server to update a table using the maximum data in other table innerjoin
UPDATE dbo.table2
SET table2.LastGrantDate = max(table1.PlannedProjStartDate)
from
table1 inner join table2
on table2.Serial = table1.FundingEstablish
but it doesn't work
it workes only when I use it without the MAX() but
any way to solve this ??