我有两个数据集一和二
数据集一
a b c
111 a 1
112 b 2
113 c 3
114 d 4
115 e 5
Run Code Online (Sandbox Code Playgroud)
数据集二
e d g
222 ss 11
111 ff 22
113 ww 33
114 qq 44
234 dd 55
534 vv 66
Run Code Online (Sandbox Code Playgroud)
我想做一个左连接
下面是用SQL编写的代码,但是当我在SQLDF中尝试它时,它显示为错误
proc sql;
create table join1 as
select one.*, two.*
from one left join two
on one.a = two.e;
quit;
Run Code Online (Sandbox Code Playgroud) r ×1