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 store procedure? How do they work?
What stored by the msdb? : sql server database administration
What is role playing dimension with two examples? : sql server analysis services, ssas
Please explain go command in sql server?
what are constraints? Explain different types of constraints? : Sql server database administration
Explain what is public role in sql server?
what's sql server? : Sql server database administration
What is the full form of dql?
List the different types of collation sensitivities in sql server?
what is victor class
when inserting to a table how many rows will be effected using triggers
What are the disadvantages of indexes?
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)