1(NOT) operator excluding given
2For example:
3Select last_name, job_id From Employees
4Where "Not" job_id = 'ABC';
5
1Returns true if a record DOESN’T meet the condition.
2Example: Returns true if the user’s first_name doesn’t end with ‘son’.
3SELECT * FROM users
4WHERE first_name NOT LIKE '%son';
1SQL NOT IN operator is used to filter the result if the values that are mentioned as part of the IN operator is not satisfied. Let’s discuss in detail about SQL NOT IN operator.
2
3Syntax:
4SELECT Column(s) FROM table_name WHERE Column NOT IN (value1, value2... valueN);
1(NOT) operator excluding given
2For example:
3Select last_name, job_id From Employees
4Where "Not" job_id = 'ABC';
1
2(NOT) operator excluding given
3For example:
4Select last_name, job_id From Employees
5Where "Not" job_id = 'ABC';
6