Answer Posted / sivasiva
create table emp
empid empname
----- --------
101 a
102 b
103 a
104 c
105 a
select empid from emp groupby empid,empname having count>1
| Is This Answer Correct ? | 17 Yes | 12 No |
Post New Answer View All Answers
How to create an inline table-valued function?
How does normalization work?
What is system stored procedures?
What are the differences between web role and worker role?
What are sub reports and how to create them?
What are the functions in sql server?
What are the dmvs?
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
Is sql server free?
What is pessimistic concurrency?
What is global temp table?
What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?
What is the difference between upgrade and migration in sql server?
What happens if strings are casted into wrong code pages in ms sql server?
Which are new data types introduced in sql server 2008?