consider a table which contain 4 columns,ename,eno,sal and
deptno, from this table i want to know ename who having
maximum salary in deptno 10 and 20.
Answer Posted / pratdeor
Select ename from table where sal IN
(select Max(sal) over (partition by Deptno) as mxs from table) and Deptno IN (10,20);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of cursors are available in pl/sql?
What is trigger in flip flop?
What is view explain with example?
Is natural join and inner join same?
What is the difference between distinct and unique in sql?
What is varchar sql?
What is the sql case statement?
What is string join?
What is compilation error in pl sql?
Can there be more than one function with a similar name in a pl/sql block?
What are all ddl commands?
What is sql lookup?
What are joins in sql?
What are the different types of dbms?
Why is stored procedure faster than query?