select yhdm as 用户代码, yhmc as 用户名称,kprq as 开票日期
from t1,(select yhdm,max(kprq) as kprq ) into T1 from t1 group by yhdm
where t1.yhdm = T2.yhdm
...全文
386打赏收藏
这句查询语句错在哪里?为什么总是不能执行?提示into附近有错误!
有一张记录表,内有、、字段,现在我想找到查到每个人员的“记录日期为最新”的记录: select yhdm as 用户代码, yhmc as 用户名称,kprq as 开票日期 from t1,(select yhdm,max(kprq) as kprq ) into T1 from t1 group by yhdm where t1.yhdm = T2.yhdm