SQL Interview Question 110 || #sql #mysql #sqlqueries #interview #shorts #reels #best@SekharAcademy1

# Question-110:
Write an SQL query to get the maximum and
minimum salaries in each department.

Table Name – Employee_Details

SQL Query ::
SELECT Department, MAX(Salary) AS Max_Salary,
MIN(Salary) AS Min_Salary
FROM Employee_Details
GROUP BY Department;

SELECT * FROM Employee_Details;

@SekharAcademy

#sql
#sqlqueries
#mysql
#oracle
#learning
#interview
#programming
#database
#education
#sqlinterview
#interviewquestions