如题所述
sql中判断非空不能用等号,因为null在sql中被看作特殊符号,必须使用关键字 is和not
select * from A where info is not null
问题延展:不为空有2中种,不是空值 is not null 不是空格 <>""