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 an index in sql?
How maney row would be print after join if A table have 100 rows and B table have 50 rows...
What is an example of a foreign key?
What are orphan records?
Alternative way to DetDate() function?
How do you delete a trigger?
How to create logins using windows Authentication mode?
What is database white box testing?
What are the different ways you can create databases in sql server?
What is check constraint in sql server?
What is database normalization?
7 Answers Deloitte, Digicel, JPMorgan Chase, Verifone,
UPDATE statement can on a single table or on the multiple table?