我正在尝试编写一个代码,该代码将在where子句中提供210.0 - 229.9之间的代码,除了225.0-225.9,227.3,227.4,228.02,228.1
我该怎么做?
我的where语句目前读取
WHERE MisDxID BETWEEN '210.0'AND'224.%'
答案 0 :(得分:3)
WHERE MisDxID BETWEEN 210.0 AND 229.9
AND NOT MisDxID BETWEEN 225.0 AND 225.9
AND MisDxID NOT IN (227.3, 227.4, 228.02, 228.1)