Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Checking for NO Value | Section
Practice
Projects
Quizzes & Challenges
Quizze
Challenges
/
SQL Fundamentals
Abschnitt 1. Kapitel 25
single

single

bookChecking for NO Value

Swipe um das Menü anzuzeigen

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:

123
SELECT name FROM country WHERE region IS NULL;
copy
Aufgabe

Swipe to start coding

Write an SQL query that returns the name and capital columns with no population provided.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 25
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt