in共1篇
sql数据库 | sql语句中使用in、not in 查询时,注意条件范围中的null值处理事项-习听风雨

sql数据库 | sql语句中使用in、not in 查询时,注意条件范围中的null值处理事项

sql语句中使用in、not in 查询时,注意条件范围中的null值处理事项 emp表中的数据   1. 使用in的时候,忽略为null的,不会查询出comm为null的数据 select * from emp e where e.comm in (3...