I thought these were synonymous, but I wrote the following in Microsoft SQL:
Select Unique col from
(select col from table1 union select col from table2) alias
And it failed. Changing it to
Select Distinct col from
(select col from table1 union select col from table2) alias
fix it. Can someone explain?