Answers for "sql min and max in same query"

SQL
4

sql min and max in same query

SELECT MIN(salary), MAX(salary) FROM employees;
SELECT team, MIN(salary), MAX(salary) FROM employees GROUP BY team;
Posted by: Guest on July-04-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language