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 |
How does index makes search faster?
Explain few examples of RDBMS?
What are pessimistic lock and optimistic lock?
What are the purpose of Normalisation?
How to truncate a table first before running a package?
What is the difference between constraints and triggers?
Write an SQL query to obtain the 2nd highest salary.
0 Answers Akamai Technologies,
What method is used by the Command classes to execute SQL statements that return single values?
What is the template in sql?
Difference between 2NF &3NF ?
i have a table like this Eno ename 1 a 2 b 3 c i want to display ename and bossname from table hint boss is also an employee
What are the different types of joins and what does each do?