Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to get employee having maximum experience in mysql

select max(salary), dept_id from employee where salary not in(select max(salary) from employee) group by dept_id;
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #employee #maximum #experience #mysql
ADD COMMENT
Topic
Name
5+8 =