SQL查询,帮别人做的面试题好像 --根据姓名查询成绩,并替换成绩为好坏
select * from onduty_distribute e where sysdate>to_date(e.ondutydate,'yyyy-MM-dd HH24:mi:ss') and e.dismid=1112