Try this:
SELECT *,MAX(col2)OVER(PARTITION BY NULL)AS COL3
FROM @TBL
--Or
SELECT *
FROM @TBL CROSS APPLY (SELECT MAX(col2)AS COL3 FROM @TBL)T
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".