Next in SQL Tutorial we might want to conditionally select the data
from a table. For example, we may want to only retrieve
Salary more then 1000$ from the Employees_Salary table. To do this, we use the WHERE
keyword. The syntax for SQL Where keyword is as follows:
For example, to select all Employees name who have Salary amount more then 1000$ from the table Employees_Salary
Employees_Salary table is as under
Table of
Employees_Salary
| FirstName |
Month |
Salary |
| Austin |
January |
1000$ |
| Creston |
January |
1000$ |
| Kate |
January |
1200$ |
| Angela |
January |
1000$ |
| Bobbi |
January |
1200$ |
| Cute |
January |
1300$ |