去除空白值
缺失数据有时也会用空白字符串 '' 表示。
当缺失值用空白字符串 '' 表示时,可以使用比较运算符 = 和 <> 来选择或删除相应的行。
airports 表的 airport_city 列存在一些空白字符串。请把它们找出来!
本练习是课程的一部分
在 SQL Server 数据库中清洗数据
交互式实操练习
通过完成这段示例代码来试试这个练习。
SELECT *
-- Select the appropriate table
FROM ___
-- Exclude the rows where airport_city is missing
WHERE ___ ___ ___