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 / srilekha
select ename from table where sal=(select max(sal) from
table) and depetno in (10,20)
| Is This Answer Correct ? | 27 Yes | 20 No |
Post New Answer View All Answers
how to convert character strings to dates? : Sql dba
Is inner join same as self join?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is sql resultset?
What is plpgsql language?
What is nvl?
What are the different types of dbms?
What is a unique key?
what is the use of friend function? : Sql dba
Is pl sql a programming language?
what is the difference between group by and order by in sql? : Sql dba
What is sp_helptext?
What is sql injection vulnerability?
How can the performance of a trigger be improved?
what is row? : Sql dba