how to find out the repeated value from table using groupby
function?
Answers were Sorted based on User's Feedback
Answer / arshi
SELECT COUNT(CoumnName) AS Expr1
FROM Tablename
GROUP BY CoumnName
HAVING (COUNT(CoumnName) > 1)
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / karthik
select eno,count(1) cnt from emp
group by eno having count(1) > 1;
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / navin.cp
SELECT COUNT(Column_Name) FROM Table_Name WHERE (Condition)
GROUP BY Column_Name
Is This Answer Correct ? | 0 Yes | 3 No |
Can binary strings be converted into numeric or float data types?
How to Rebuild Master database in sql server 2005.
What are character string data types in ms sql server?
wt is mean by acid property? i know it is atomocity,consistency,isolation and durabulaty but wt is these mean and wt actions it's perform
What do you understand by a view?
I have a table in which phno is one of the columns.i do have some values in tht phno column.i need to update phno column values with 0(zero) as prefix.give me a correct solution plz...
how to select a field with firstletter as capital and remaining are small letters
Explain about Views?
how can we use a composite key for two tables and how can we represent it
How to make a remote connection in a database?
How to set database to be read_only in ms sql server?
Do you know what is a trace frag? Where do we use it?