ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
Can some one please help with a query which will take only 
max value of a column in a join.
 Question Submitted By :: Sudeesh R
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can some one please help with a query which will take only max value of a column in a join.
Answer
# 1
select max(alias.colomnname) from table alias
 join table alis on 
<condition>
 
Is This Answer Correct ?    6 Yes 1 No
Debasish
 
  Re: Can some one please help with a query which will take only max value of a column in a join.
Answer
# 2
select max(alias1.columnname) from table1 alias1
join table2 alias2
on condition
 
Is This Answer Correct ?    2 Yes 0 No
Vaibhavi_dixit
 
 
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is the difference between temp table and table variable? Microsoft4
What is a join and their types? Challenger-Financial2
could u plz explain about joins and views?  2
What is a view?  4
What is the difference between login and a user? TCS7
what is maximum size of temp db? iSoft4
Can a stored procedure call itself(recursive). If yes what level and can it be controlled.?  2
Rate yourself in .NET and SQL ? Cognizent1
Can Having clause be used without Group by clause? CTS4
Please give me queries for the following 1. To get the count of duplicate records. 2. A query to delete the duplicate records. 247Customer3
How to Check Whether a Global Temporary Exists in a SQL Database or not?  2
Advantages and Disadvantages of Cursor? Zenith10
What is Peer to peer Replication? HCL1
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?  1
What are the magic tables in SQL Server 2000? Infogain5
what is advantages in sql 2005 over sql 2000?  4
syntax for deleting the database in T SQL  4
What command do we use to rename a db?  3
sql server has its default date format in da form "yy-mm-dd" its possible to convert da current date format of sql server to desired format. Now my question is dat how to get da previous and comin days date in my desired format??  1
select the 3rd maximum salary from sql server database if 4 (just an example In practically I may not know the exact situation) of the highest salaries are equal.  7
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com