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 / swati pise
select top 1 * from table where dept_no in(10,20) order by
sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of sqldataadapter?
Why is a primary key important?
Can we use the cursor's to create the collection in PL/SQL?
i have some prob lem to tell me about my self in interview first round ...
Is record in pl sql?
What is error ora-01000: maximum open cursors exceeded
Can we connect to postgresql using sql developer?
Can we call procedure in select statement?
What is data manipulation language?
How to revise and re-run the last sql command?
What are the parameter modes supported by pl/sql?
how can I make a script that can be bi-language (supports english, german)? : Sql dba
What are the 3 modes of parameter?
How to run pl sql program in mysql?
Name the operator which is used in the query for pattern matching?