Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
SQL Null | Filtering Statements
SQL Tutorial for Beginners
course content

Зміст курсу

SQL Tutorial for Beginners

SQL Tutorial for Beginners

1. Database & Introduction to Syntax
2. SQL Aggregate Functions
3. Filtering Statements

SQL Null

NULL is a special value that matches missed data. It means there is no data inserted into the field.

There are operators to detect whether the value is NULL:

  • IS NULL: detects only values that equal to NULL
  • IS NOT NULL: detects values that are not NULL.
12
SELECT title FROM songs WHERE album IS NOT NULL
copy

NULL does not match 0 or empty line, it only matches data that is missing and does not exist.

NULL values are ignored in the MIN, MAX, COUNT, AVG, and SUM aggregate functions.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 1
toggle bottom row

SQL Null

NULL is a special value that matches missed data. It means there is no data inserted into the field.

There are operators to detect whether the value is NULL:

  • IS NULL: detects only values that equal to NULL
  • IS NOT NULL: detects values that are not NULL.
12
SELECT title FROM songs WHERE album IS NOT NULL
copy

NULL does not match 0 or empty line, it only matches data that is missing and does not exist.

NULL values are ignored in the MIN, MAX, COUNT, AVG, and SUM aggregate functions.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 3. Розділ 1
toggle bottom row

SQL Null

NULL is a special value that matches missed data. It means there is no data inserted into the field.

There are operators to detect whether the value is NULL:

  • IS NULL: detects only values that equal to NULL
  • IS NOT NULL: detects values that are not NULL.
12
SELECT title FROM songs WHERE album IS NOT NULL
copy

NULL does not match 0 or empty line, it only matches data that is missing and does not exist.

NULL values are ignored in the MIN, MAX, COUNT, AVG, and SUM aggregate functions.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

NULL is a special value that matches missed data. It means there is no data inserted into the field.

There are operators to detect whether the value is NULL:

  • IS NULL: detects only values that equal to NULL
  • IS NOT NULL: detects values that are not NULL.
12
SELECT title FROM songs WHERE album IS NOT NULL
copy

NULL does not match 0 or empty line, it only matches data that is missing and does not exist.

NULL values are ignored in the MIN, MAX, COUNT, AVG, and SUM aggregate functions.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 3. Розділ 1
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt