Update a set a.Manage_FunctID=b.Manage_FunctID
Update
a
set
a.Manage_FunctID=b.Manage_FunctID
From
Manage_PageUrl a
Left
join
Manage_ButtonBar b
on
a.Manage_PageUrlID=b.Manage_PageUrlID
Manage_Funct c
b.Manage_FunctID=c.Manage_FunctID