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 are the various Isolation levels?
What are the differences between union, intersect, and minus operators?
What is the maximum size of a dimension? : sql server analysis services, ssas
How to create a dml trigger using create trigger statements?
what are cursors? : Sql server database administration
What is a file group?
What are the authentication modes in SQL Server?
What do you understand by sql server agent?
What is the significance of null value and why should we avoid permitting null values?
What is difference between views and stored procedures?
Why people hate cursor?
Explain few examples of stored procedure over triggers?
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)