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 |
How does one load ebcdic data? : aql loader
How many primary keys can a table have?
what does the t-sql command ident_incr does? : Transact sql
What are instead of triggers?
What is mutating error?
What is difference between stored procedure and trigger?
What is the use of triggers?
What is the difference between CHAR and VARCHAR2? If VARCHAR2 serves the uses of CHAR why CHAR is still used and not been discarded yet?
What is %type in pl sql?
how can you see all indexes defined for a table? : Sql dba
What is an exception in PL/SQL? What are the two types of exceptions?
In a Distributed Database System Can we execute two queries simultaneously ? Justify ?
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)