Name Salary
Abc 50000
Abc 50000
xyz 20000
find the max salary using aggregate function?
Answers were Sorted based on User's Feedback
Answer / guest
select max(sal) from tab_name;
or
select * from tab_name where sal=(select max(sal) from
tab_name) and rownum<=1;
| Is This Answer Correct ? | 20 Yes | 0 No |
Answer / prashant
select max(salary) from
(select distinct(salary) from ABC)
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between unique and primary key constraints?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
Explain what is a view?
What is trigger in pl sql with examples?
explain the options of myisamchk to improve the performance of a table. : Sql dba
How to remove duplicate rows from a table?.
What is a design view?
What is the use of non clustered index?
State few characteristics of pl/sql?
What is window clause?
Is clustered index a primary key?
What is the difference between the conventional and direct path loads? : aql loader
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)