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 ? | 19 Yes | 0 No |
Answer / prashant
select max(salary) from
(select distinct(salary) from ABC)
Is This Answer Correct ? | 0 Yes | 0 No |
What are the different types of database management systems?
How to check if a column is nullable before setting to nullable?
how to saw triggers output in pl/sql database?
How to fetch the rows by dynamicaly passing table name through cursor?
Mention what plvcmt and plvrb does in pl/sql?
write a query to remove null following table are id name 101 dinesh null jyothi null bharathi 102 suresh null shilpha 103 prakesh null suma i want the output format like id name 101 dinesh 102 suresh 103 prakesh
what is “go” in t-sql? : Transact sql
What is the least restrictive isolation level? : Transact sql
Is sql procedural language?
What is a design view?
Can we use views in stored procedure?
what is meant by nl2br()? : Sql dba