SQL Questions
I was given two tables one was employee table and other was a department table. On basis of these tables I was asked few questions :-
1. Write a query to find the max salary of any employee .
2. Write a query to find the max salary of any employee in all the department , grouped by department .
3. Write a query to find all the departments where sum of salaries of the employees is less than a particular sum.
4. Write a query to find all the departments where total number of employees is less than 3.
5. Write a query to select all the salaries of the employees grouped by department where the departments were arranged based on the sum of the salaries in that department.
Be the first one to answer
Add answer anonymously...
Top Blackrock Software Developer interview questions & answers
Popular interview questions of Software Developer
Top HR questions asked in Blackrock Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app