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 does ss stand for sexually?
what is the importence of the trigger in sqlserver2000?
What are alternate keys?
How can you insert null values in a column while inserting the data?
Explain the stored procedure?
What are approximate numeric data types in ms sql server?
What are points to remember while using the fillfactor argument?
How to drop an existing stored procedure in ms sql server?
What are triggers? How do you invoke a trigger on demand?
What is a db view?
What is a coalesce function?
Why we use functions in sql server?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)