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 |
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
A successfully created SSIS package in SQL Server 2005 runs fine in MS BIDS and Integration Services. But gives error when run through an SQL-Job. What are the possible reasons?
How can u get the number of pupils connecting the database?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
What are orphan records?
What are the differences between union, intersect, and minus operators?
How do you find the error, how can you know the number of rows effected by last SQL statement?
as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration
How to create an inline table-valued function?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
What is a view in sql?
what is a default tcp/ip socket assigned for sql server? : Sql server database administration
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)