Removing blank spaces
You can also find missing data represented with blank spaces ''
.
The comparison operators =
and <>
can help you to select or remove the rows when missing values are represented with blank spaces ''
.
The airport_city
column of the airports
table has some blank spaces. Try to find them!
Diese Übung ist Teil des Kurses
Cleaning Data in SQL Server Databases
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
SELECT *
-- Select the appropriate table
FROM ___
-- Exclude the rows where airport_city is missing
WHERE ___ ___ ___