PostgreSQL Aggregate Functions and Group By: Find the minimum salary paid to the employee
3. Write a query to get the minimum salary from employees table.
SELECT MIN(salary) FROM employees;
Sample table: employees
pg_exercises=# SELECT MIN(salary) pg_exercises-# FROM employees; min --------- 2130.00 (1 row)
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
What is the difficulty level of this exercise?