Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
kote_alex
Posting Yak Master
112 Posts |
Posted - 2009-05-28 : 04:32:16
|
| how can i select and see the multiple entries in the name column ... because I need to see their Id's .could I make a select for this application? |
|
|
slimt_slimt
Aged Yak Warrior
746 Posts |
Posted - 2009-05-28 : 05:18:18
|
| select id, columnfrom tablehaving count(id) > 1 |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-05-28 : 05:21:47
|
| select t1.id,t2.name from table as t1 inner join(select name from tablegroup by namehaving count(*)>1) as t2on t1.name=t2.nameMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|