select name from clase where address != null
这样的话查询语句不会报错,可是永远不会有可用的选项code
SQL中要想实现这个功能有另一个表达的方式class
select name from clase where address IS NOT NULL