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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-02-24 : 09:34:47
|
| Page writes "I can use Distinct keyword to find the distinct data inthe table. What can I use to find what data is NOT distinct in the table." |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-02-24 : 09:41:10
|
use GROUP BY and HAVINGselect yourcolumnfrom yourtablegroup by yourcolumnhaving count(*) > 1 ----------------------------------'KH'It is inevitable |
 |
|
|
|
|
|