how to find out the repeated value from table using groupby
function?
Answer Posted / arshi
SELECT COUNT(CoumnName) AS Expr1
FROM Tablename
GROUP BY CoumnName
HAVING (COUNT(CoumnName) > 1)
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is log cache in sql server?
How to automatically create a log when an exception is being received into SQL Server?
How real and float literal values are rounded?
how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?
How to create function with parameter in sql server?
What is stored procedures?
What is BCNF? How is it better than 2NF & 3NF?
What is the difference between varchar and varchar types?
Difference between Logical Page and Physical Page in SSRS.
How do you handle datasets larger than 50 gb?
Differentiate between SQL and ORACLE joins and write their syntax.
When would you use a before or after trigger?
Can we call future method from trigger?
How exceptions can be handled in sql server programming?
can any body tell me how to know the password of current user in sql server