Answers for "sql max(count)"

0

sql max count

SELECT max(MY_COLUMN) FROM my_table; 
SELECT MY_ID, max(MY_COLUMN) FROM my_table GROUP BY ID;   -- Max by MY_ID
Posted by: Guest on March-18-2021
0

find max number in sql

● SELECT first-name, MAX(salary)
FROM department d LEFT OUTER JOIN employee e ON (d.department_id = e.department_id)
GROUP BY department_id;
Posted by: Guest on June-21-2021

Browse Popular Code Answers by Language