uploadcode 是varchar2类型的
select * from T_EXAM_PROCESS t where lsh='2171020309330' and examnum=1 and nvl(to_char(uploadcode),'xx') <> '1'
nvl(column,replace_with)
如果column是空,则用replace_with的值替代
uploadcode 是varchar2类型的
select * from T_EXAM_PROCESS t where lsh='2171020309330' and examnum=1 and nvl(to_char(uploadcode),'xx') <> '1'
nvl(column,replace_with)
如果column是空,则用replace_with的值替代