Can some one please help with a query which will take only
max value of a column in a join.
Answers were Sorted based on User's Feedback
Answer / vaibhavi_dixit
select max(alias1.columnname) from table1 alias1
join table2 alias2
on condition
| Is This Answer Correct ? | 2 Yes | 0 No |
Why do you need a sql server?
Does order by actually change the order of the data in the tables or does it just change the output?
Why do we use sql limitations? Which constraints can we use while making a database in sql?
Explain what is meant by replication of database?
What is meant by referential integrity?
Why I am getting this error when dropping a database in ms sql server?
how you can move data or databases between servers and databases in sql server? : Sql server administration
How to compare the top two records using sql?
What is use of @@ spid in sql server?
What are page splits? : SQL Server Architecture
What are scalar functions?
Define outer join in sql server joins?
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)