What is the use of NOT function in SQL?

NOT is a logical operator in SQL that you can put before any conditional statement to select rows for which that statement is false.

Syntax:

SELECT column1, column2, ... FROM table_name WHERE NOT condition;