I thought these were synonomous, 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
fixed it. Can someone explain?