From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / hari
select max(sal) from employee;
or
select * from employee where sal in(select max(sal) from employee);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is your daily office routine?
what is union? : Sql dba
When you have to use a default "rollback to" savepoint of plvlog?
What are the subsets of sql?
How to run sql statements through the web interface?
Is sql considered coding?
What is pl sql collection?
Are subqueries faster than joins?
What are expressions?
how to convert dates to character strings? : Sql dba
How to write a query to show the details of a student from students table whose
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
Which nosql database is best?
what is cursor. write example of it. What are the attributes of cursor.