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
What are the 3 types of behavioral triggers?
Does view store data in sql?
What view means?
What is cursor explain with example?
What is union?
What is sql integrity?
What is the difference between sql, mysql and sql server?
Is json a nosql?
What are analytical functions in sql?
How does one load ebcdic data? : aql loader
How do I remove sql developer from windows 10?
What are database links used for?
How to avoid duplicate records in a query?
What are stored procedures in mysql?
what are myisam tables? : Sql dba