Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to find out the repeated value from table using groupby
function?

Answers were Sorted based on User's Feedback



how to find out the repeated value from table using groupby function?..

Answer / arshi

SELECT COUNT(CoumnName) AS Expr1
FROM Tablename
GROUP BY CoumnName
HAVING (COUNT(CoumnName) > 1)

Is This Answer Correct ?    8 Yes 0 No

how to find out the repeated value from table using groupby function?..

Answer / karthik

select eno,count(1) cnt from emp
group by eno having count(1) > 1;

Is This Answer Correct ?    1 Yes 0 No

how to find out the repeated value from table using groupby function?..

Answer / vishu

by using count(colun name ) and differd calumn

Is This Answer Correct ?    0 Yes 1 No

how to find out the repeated value from table using groupby function?..

Answer / navin.cp

SELECT COUNT(Column_Name) FROM Table_Name WHERE (Condition)
GROUP BY Column_Name

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is exclusive locks?

0 Answers  


How you would rewrite the sql query to return the customerid sorted numerically?

0 Answers  


What are the advantages of mirroring?

0 Answers  


What new changes are being made in SQL Server?

0 Answers   Blue Star,


What is lookup override?

0 Answers   Informatica,


How to disable triggers using "disable trigger"?

0 Answers  


Explain microsoft sql server functions?

0 Answers  


How to turn off warning messages during php execution?

0 Answers  


How can we call UDF(User Define Function) using C# code in ASP.net ?

1 Answers  


What is the difference between char, varchar and nvarchar?

0 Answers  


Tell me what is the order in which the sql query is executed?

0 Answers  


What is the security principal at the database level that represents your session?

0 Answers  


Categories