1..Write an sql query to find the employee name who is
having 2 phone numebr?
2.Write an sql query to the the second highest salary of
the employee?

Answer Posted / raj

Q1:

Q2: select max(SAL) from EMP_TAB where SAL < (select max
(SAL) from EMP_TAB

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between copybooks and subprocedures in as400?

806


What are the types of identifiers?

570


How to call one program from another program in RPG? please help me with the code

1260


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

768


How can we override a file during runtime in rpg?

686






How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1310


What is difference between bind by copy and bind by reference?

1728


what is the procedure and explain about real time scenario.

1479


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


what is the rpg system?

665


how can I tell when to replace the array?

702


how do you use commitment control in rpg?

757


is this a rpg channel?

678


what is file information data structure?

1372


what do you mean by an input subfile, what are the keywords required?

773