I have code like this
PROC SQL;
CREATE TABLE my_table as
SELECT DISTINCT(
t1.*,
t2.*,
t3.value3 )
FROM table1 as t1
INNER JOIN table2 as t2
ON t1.value = t2.value
INNER JOIN t3.value as t3
ON t1.value2 = t3.value2
;
quit;
But SAS sees t1.* as a format. what can I do about this? Is there a way to express this without building 2 separate tables first?