one table has four field id,name,design,salary. i have to
find maximum salary .
Answer Posted / 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 |
Post New Answer View All Answers
Do you know hot add cpu in sql server 2008?
While using a cursor, how can you differentiate between a deleted row and a row that has been inserted with null data values?
What is resource governor?
What is application role in sql server database security? : sql server security
Write the SQL query to drop, truncate and delete table.
How will you hide an attribute? : sql server analysis services, ssas
What do you need to connect php to sql server?
Does sql server 2016 have ssms?
what is normalization? : Sql server database administration
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
What is data modeling and Reterminal integrity?
How many partitions a clustered index has by default in sql server 2012?
is there a column to which a default can't be bound? : Sql server database administration
Does sql server 2000 clustering support load balancing?
Explain having clause?