【发布时间】:2018-10-15 22:55:32
【问题描述】:
proc sql;
create table tdstagng.aa as
select distinct * from tdstagng.aa
outer union corr
select distinct * from WORK.DYNAMIC
ORDER by Cdate;`
quit;
输出
此图像是代码的输出,Cdate 是获取当前日期的列。)程序的目标是构建历史数据以标记随时间的变化。
在 2018 年 10 月 15 日的日期中,即使整行相同(而不是该日期的 7 行,有 14 行),也有重复的值,我该如何摆脱这种情况?我用箭头标记了重复的行。
【问题讨论】:
标签: sql sas enterprise-guide