Checking for NO Value
ã¡ãã¥ãŒã衚瀺ããã«ã¯ã¹ã¯ã€ãããŠãã ãã
If a column doesn't contain any data, it's considered NULL. To determine if a value is NULL, you donât just check for equality. Instead, you use the WHERE clause with IS NULL in a SELECT statement to find rows where the columnâs value is NULL.
The syntax for it looks like this:
SELECT columns
FROM table
WHERE column_name IS NULL;
Let's illustrate this with an example:
123SELECT name FROM country WHERE region IS NULL;
ã¿ã¹ã¯
ã¹ã¯ã€ãããŠã³ãŒãã£ã³ã°ãéå§
Write an SQL query that returns the name and capital columns with no population provided.
è§£ç
ãã¹ãŠæç¢ºã§ãããïŒ
ãã£ãŒãããã¯ããããšãããããŸãïŒ
ã»ã¯ã·ã§ã³Â 1. ç« Â 27
single
AIã«è³ªåãã
AIã«è³ªåãã
äœã§ã質åããããææ¡ããã質åã®1ã€ã詊ããŠãã£ãããå§ããŠãã ãã