Sql Query To Retrieve Record Using Where Condition


Line 1 statement will retrieve records of an employee whose employee_id = 100.

Line 2 statement will retrieve employee_id, first_name, and salary of an employee whose employee_id = 100.

Enter - Select * from table_name;
SQL Query
SELECT * FROM employees WHERE employee_id = 100; SELECT employee_id,first_name,salary FROM employees WHERE employee_id = 100;
Output