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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
How to count the number of duplicate items in a table?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to count the number of duplicate items in a table?
Answer
# 1
Hi,
try this query.In this query sal one val is duplicated 
4items


select sal,count(sal)  from test group by sal having count
(*)>1
 
Is This Answer Correct ?    3 Yes 2 No
Pavan
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is difference beteen Migration and Upgrdation? Satyam4
What is an Index? Yardi-Software3
How can I know what query is executing by by a particural user? (using sp id or any othe way.)  2
What is user stored procedure & it purpose? Wipro3
What is the purpose of UPDATE STATISTICS?  1
What is the use of MOVE keyword in restore command IBM2
i want only duplicates rows from coloumn ex. emp_id(colomn name)1,1,2,3,3,4,5,5. so i want only duplicates no. iFlex2
What is a view? is View updatable? IBM11
wht's the differece between sqlserver05 and sqlserver2000  3
how to rest identity columns in sql server Matrix3
In which year relase the 7.0& 2000 & 2005?  1
how to replace double quotes by single quotes in sql server CAC2
what is the maximum size of a row in sql server 2000 and 2005  2
What is the use of DBCC commands?  1
Explain basic SQL queries with SELECT from where Order By, Group By-Having? Wipro2
what are file groups? Evalueserve3
How to write query to Delete the records in child table and corresponding records in parent table Semantic-Space8
Questions on identity? Infosys1
What is the difference between DTS and SSIS? Allianz3
Questions regarding Raiseerror?  1
 
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