Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the responsive-lightbox domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
SQL Interview Questions part 12 - Testingpool

SQL Interview Questions part 12

You can see part 11 here.

166)Display the department name along with total salary in each department.

167) Display itemname and total sales amount for each item.

168) Write a Query To Delete The Repeted Rows from emp table;

169) TO DISPLAY 5 TO 7 ROWS FROM A TABLE

 170)  DISPLAY  TOP N ROWS FROM TABLE?

171) DISPLAY   TOP 3 SALARIES FROM EMP.

172) DISPLAY  9th FROM THE EMP TABLE?

173) Select second max salary from emp;

174) Provide a commission(10% Comm Of Sal) to employees who are not earning any commission.

175) Display those employee whose joining of month and grade is equal.

176) Display the names of the employees who earn highest salary in their respective departments.


 

Questions/Suggestions
Have any question or suggestion for us?Please feel free to post in Q&A Forum
Avatar photo

Shekhar Sharma

Shekhar Sharma is founder of testingpool.com. This website is his window to the world. He believes that ,"Knowledge increases by sharing but not by saving".

You may also like...

2 Responses

  1. kishore says:

    I dont know about this blog before feeling regret that i found late but such a useful blog for ETl testers who wanna build career.Tq once again