- Display the deptno which is having the maximum salary and maximum salary more than 1500 earned by the employee and job description not as a clerk and sort by descending order
- Display the deptno which is having the maximum salary and maximum salary more than 1500 earned by the employee and job description not as a clerk and sort by descending order
- List the number of employee in each department, except 30, sorted high to low. Only include department with 3 or more employee.
- Sql query to find second highest salary of employee
- Display the number of employees who has annual salary more than 10000 department-wise
- Display the max salary for each of the job excluding all the employee whose having commission.
- Find the total salary department number wise where more than two employees exits?
- Display job wise and department wise least salary only if the least salary is less than 3000 in department 10,30?
- list all the employees except those who are working in Dept 30 and 20?
- Display the department number which are having more than 200 as their commission along with employees whose name having 'A' is one of character.
- Display department number and total salary whose average salary is greater than 500 for each department.
- Display Job wise salary of the employees b/w 2000 & 5000 excluding dept no 30 .
- display job wise employee names which consist of 5 characters and job designation should be neither salesman nor analyst
- Display the department number along with the number of employees and also employee name?
- Display department wise maximum and minimum salary of all salesman.
- Write a query to display number of employees having Commission in Dept 30?
- Display number of employee, total salary paid to employee work in each department?
- Display job wise with a no of employees whose salary is greater than 2000.
- Display maximum salary, minimum salary, average salary of each department
- Display number of employees department wise who are having sal greater than 2000 & working as manager.
- display department wise, number of manager.
- Display minimum salary for each of the job whose name starts wit s
- display the Department names along with the number of employees in it
- Display job wise highest hire date if the hire date is greater than 02 Apr 81 from the employee table
- Display the department number which are having less than 2 employees in them
- Display the department number which is having clerk in it & having salary more than 1500.
- Write the query to get the department and department wise total(sum) salary, display it in descending order according to salary.
- Write the query to get the department and department wise total(sum) salary, display it in descending order according to salary.
- Write the query to get the department and department wise total(sum) salary, display it in descending order according to salary.
- Display branch wise students wherein each branch number of students should not exceed more that 180 and average percentage of each branch should be at least more than 55.
- Display branch wise students wherein each branch number of students should not exceed more that 180 and average percentage of each branch should be at least more than 55.
- List job with average salary between 1000 and 2000.
- Write the query to get the department and department wise total salary from employee details table
- Display the number of employees department-wise, whose job has character R in it
- Display hiredate wise the employee working as clerk in department 20 &30 having salary more than 1000
- Department wise average salary from employee table order by salary ascending ?
- Display the department numbers along with employee names having salary greater than or equal to 1500?
- list all the salesman in Dept number 20 and having salary greater than 950?
- Display the deptno. Which is having more than 1 reporting manager.
- Display year wise joining date along with department number and job.
- Display each employee of annual salary and excluding ename start with 's'
- Display student. Name who are having more than 60 percent?
- Display job wise total salary.
- display jobwise max salary except Analyst,president?
- Write the query to get the department, total number of departments, total salary with respect to department from employee table?
- Display total salary to distribute job wise in the year 81.
- Display the number of employees jobwise and are having reporting manager
- Display job wise hiredate in descending order for those who receive commission.
- display min salary for each of the job for employee name whose name starting with A.
- Display Department wise number of salesman
- Display the Department numbers which are havung more than 2 employees in them
- Display the Dept numbers along with the number of employees and reporting managers in it
- Display all the minimum salary for each of the job including all the employees whole name ends with 'S'
- Display the department number in which employees names having a string man,and having salary more than 1000
- Display the deptno which is having more then 3 salesman in it.
- Display the deptno which is having more then 3 salesman in it.
- Display the deptno which is having more then 3 salesman in it.
- Display deptno, job,employee name and having a salary greater than 2000 and having the total salary in each dept and excluding deptno 20 and sort it by descending order
- Display deptno, job,employee name and having a salary greater than 2000 and having the total salary in each dept and excluding deptno 20 and sort it by descending order
- Query to find Max Salary from each MGR.
- Write the query to get department and department wise total salary display it in ascending order according to salary
- Write a query to display the number of managers department-wise
- Display job wise total salary who is working as clerk or manager having SALARY more than 1500 without commission
- Display the department , no of employee in a department , total salary with respect to a department from employee table order by total salary descending ?
- Write a query to display department wise number of manager?
- 3.list all the employees who's name is having at least 2 A's in it?
- Display job,deptno. Having more employees in a year 81.
- Display month wise joining date along with reporting manager and salesman.
- Display job wise least salary along with there MGR Name.
- display deptno,along with their job designation consist of a string 'ER'
- Display student name who are having more than 4 letters in the sname?
- Display the minimum salary of the employees for each department with having 5 characters in employee name and the third alphabet is ‘A’.
- display min salary of employees whose job in salesman,clerk?
- Write down the query to fetch department name assign to more than one employee ?
- List the no of employee in each department where the number is more than 3.
- Display the number of employees department wise then jobwise and salary more than 1000
- Display the deptno for those who have MGR 7839 and name end with s.
- display department wise,having more than 2 salesman.
- Display the Department number which are having less than 5000 as their departmental total salary
- Display the minimum Salary for each of the job excluding all the employees whose name ends with K
- Display the highest hire date for each job excluding all the employees whose name ends with 'N'.
- Display job-wise highest salary only if the highest salary is more than 2000
- Display dept no which are contains more then 2 emp in them
- Display dept no which are contains more then 2 emp in them
- Display dept no which are contains more then 2 emp in them
- Display employee name job wise whose having commission greater than 250 and having a reporting manager whose number starts with 76
- Display employee name job wise whose having commission greater than 250 and having a reporting manager whose number starts with 76
- find number of employees whose hiredate is between 01-jan-80 to 31-dec-82
- Write the query to get the department and department wise total salary display it in descending from employee detail table
- Write a query to display number of employees department-wise whose job end with T
- Display job wise highest salary only is the highest salary is more than 2000 excluding deptno 20 sort the data based on highest salary in ascending order.
- Display no of employee in each job and display all the employees whose reporting manager has end with '8' no in it .
- Display the department number which is having more than 1 salesman in it?
- list all the employees who are not earning salary by the range 1250 and 4000?
- Display jobwise lowest salary of 1000excluding dept 10.sort the data based on their lowest salary in the ascending order.
- Display job wise and employee name whose having reporting manager and having salary range from 1000 to 2500.
- Display Department numbers which are having salary more than 2000 except manager.
- display job wise whose joining date is oldest and newest and whose getting some commission
- display department wise number of 'MANAGERs'?
- Display the branch wise percentages of the students scored more than 85 and the branch would be having less than 200 students.
- display deptwise number of salesman except dept 20?
- Display all the department where department has 3 employee?
- Display department no and max salary for each department.
- Display number of employees whose name starts with S or A jobwise and are having more than or equal to 3 employees
- Display deptno who has man string in there job having deptno 30.
- display department wise ,for those department having sal less than 5000.
- Display Department wise number of president
- Display the Department numbers which are having more thab 5000 as their departmental total salry
- Display Dept wise number of employees who get a commission of more than 500
- Display the department numbers which are having lesser than 5000 as the department total salary
Thursday, 20 July 2017
Questions on group by clause in sql ~ NIIT POST
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment