摘要: 可以使用 nulls first 和 nulls last 把空值行排到前面和后面,例:1 select PatientName,BedNo 2 from T_PatientInHospital 3 where DepartmentCode='0608' 4 order by to_number(BedNo) nulls first1 select PatientName,BedNo 2 from T_PatientInHospital 3 where DepartmentCode='0608' 4 order by to_number(BedNo) nulls 阅读全文
posted @ 2011-03-10 16:39 qing_sun 阅读(386) 评论(0) 推荐(0) 编辑