oracle里查询条件为某列的某几位值 使用截取 substr(列/值,截取开始下标(从0开始,和从1开始都行),截取位数) SELECT * FROM d504 WHERE years = '2019' and substr(D504_14,0,4) <> '6205' and substr(area_code,0,4) = '6205'