Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

HOW CAN I FIND MAX SAL ,ENAME FROM EMP TABLE.

Answer Posted / binod singh

SELECT max(Distinct sal),ename
FROM emp
/

SQL> select max(distinct salary) from employees;

MAX(DISTINCTSALARY)
-------------------
24000

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are schema-level triggers?

1155


How does cross join work in sql?

1079


What are actual parameters and formal parameters?

1178


What is the use of prepared statement?

1076


How do I add a database to sql?

1185


What are sql injection vulnerabilities?

1027


How do you update sql?

1038


What is thread join () in threading?

1057


Are stored procedures compiled?

980


What are different types of tables in sql?

1052


What is graph sql?

1039


Is pl sql a programming language?

1045


Explain about various levels of constraint.

1000


What is sql and explain its components?

1119


What is the source code of a program?

1120