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 - 2000-12-18 : 08:51:42
|
James writes "Given the following table
Surname, char(30) Firstname, char(20)
what query will return each distinct surname and the number of duplicates.
e.g. for the following data:
Smith, John Smith, Peter Jones, Mary
The query should return:
Smith, 2 Jones, 1" |
|
|
|
|
|