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 |
What is catalog views?
How to find out what is the default collation in a database?
If any stored procedure is encrypted, then can we see its definition in activity monitor?
What are translations and its use? : sql server analysis services, ssas
Explain identity in sql server?
What are different types of raid configurations? : SQL Server Architecture
How to automatically create a log when an exception is being received into SQL Server?
Which is better statement or preparedstatement?
How we can compare two database data?
How to create prepared statements using odbc_prepare()?
If any possiable to use 2 primary key in single table? How many primary key & foreign key used in each table(min & max)?
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
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)