New course! Every coder should learn Generative AI!
Try a free lesson+ 1
If you only need the highest salary you don't need WHERE clause, you can get it as follows:
SELECT MAX(column_name) FROM table_name;
With column_name being the salary column (field) name.
P.S. What did you mean ing Sal?