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 extended events?
Can we use having clause without group by?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration
What does it mean to normalize data?
What is meant by datasource?
what is node in sql server?
2 Answers CarrizalSoft Technologies, Google, NIIT, Nittany, TATA,
What is lock escalation? : sql server database administration
What is replace and stuff function in sql server?
Define left outer join?
Explain what is it unwise to create wide clustered index keys?
Can you explain the disadvantages/limitation of the cursor?
Oracle (3253)
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)