CommencerCommencer gratuitement

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!

Cet exercice fait partie du cours

Cleaning Data in SQL Server Databases

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

SELECT *
-- Select the appropriate table
FROM ___
-- Exclude the rows where airport_city is missing
WHERE ___ ___ ___
Modifier et exécuter le code