Hello, I am trying to join tables in SQL and then order by an id common to the new and joined tables. How do I get rid of the ambiguous reference error? PROC SQL; CREATE TABLE new AS SELECT A.*, B.* FROM table1 as A LEFT JOIN table2 as B ON A.id = B.id ORDER BY A.id, A.xx; ERROR: Ambiguous reference, column id is in more than one table. QUIT; Thanks in advance for your help.
... View more