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 insert command in sql?
How many tables can a sql database have?
What is trigger explain it?
what does the t-sql command ident_current does? : Transact sql
What are system versioned tables?
Can a trigger call a stored procedure?
What is varray in pl sql?
What steps server process has to take to execute an update statement?
How many types of cursors are available in pl/sql?
What are the ways on commenting in a pl/sql code?
How do I create an index in word?
What is embedded sql with example?
What are the query optimization techniques?
What is pl/sql table? Why is it used?
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.