![](/img/trans.png)
[英]how to join multiple select statement with full outer join. Error: subquery is returning more than one row
[英]How to select more than one variable from sql in join statement?
proc sql noprint;
create table Final as
select a.*, b.(more than one variable)
from Table as a left join cool as b
on a.xx = b.yy
;
quit;
只需列出它们:
select a.*, b.column1, b.column2, b.column3...
proc sql noprint;
create table Final as
select a.*, b.variable1, b.variable2, [...], b.variableN
from Table as a left join cool as b
on a.xx = b.yy
;
quit;
您可以获取有关SAS文档的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.