one table has four field id,name,design,salary. i have to
find maximum salary .
Answers were Sorted based on User's Feedback
Answer / prashant
Select * from table1 where salary = (select max(salary)
from table1)
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / ashish
hi,, it work
select * from table where salary =(select max(salary) from
table) .......this returns whole record of that salary,,,,
an if u want just that maximum salary than
select max(salary) from table
Is This Answer Correct ? | 6 Yes | 0 No |
what is the system function to get current user's user id? : Sql server database administration
How to create a new table in a given schema?
explain how to create a new schema in a database? : Sql server database administration
How do I shrink an ldf file?
How to rename databases in ms sql server?
What is use of except clause?
How to loop through the result set with @@fetch_status?
How to use group functions in the select clause in ms sql server?
How will you collect the date from current date to last older 6 days date in sql server 2005
What are the results of running this script?
Ek lifafa 10 noto se bhara hai usme 2 or 5 ke note nahi hai aur usme total 50Rs hai, to batao lifafe me kon se not kitne hia it’s a challenge thank’s
What are the basic functions for master, msdb, model, tempdb databases?