New course! Every coder should learn Generative AI!
Try a free lesson0
How to select employees under particular salary. For example 6000
2 Answers
+ 2
SELECT ... WHERE salary <= 6000
If you use grouping with GROUP BY then use HAVING instead of WHERE.
+ 2
SELECT employee FROM table WHERE salary < 6000;