Explain the use of Where clause by providing examples for the following.
1. Using Where clause
2. Using the IN operator
3. Using the NOT Operator
4. Using no value, i.e. NULL
Where Clause can be used as a predicate to specify some condition to fetch data.
Using Where clauseSelect * from employee Where emp_salary > 1000;
Using the IN operatorSELECT * FROM Persons WHERE LastName IN ('Hansen','Pettersen')
Using the NOT OperatorSELECT * FROM employee WHERE employee_name not in ( 'IBM', 'Hewlett Packard', 'Microsoft');
Using no value, i.e. NULLCreate table employee(Emp_id integer (10) NOT NULL, Emp_name varchar(255),);