分类(工作相关)
取最近的一条记录
2009/10/26 18:28
select *
  from
(
select row_number() over(partition by m.userno order by m.examdate desc) rno,
        m.*
        from adsl_visit_exam m
        )
        where rno =1
Tags: Oracle
相关日志:
+引用(0) |
发表评论
昵称  密码  游客无需密码
网址  电邮  注册
验证码 请输入左侧图片中的字符
记住我