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 |
|
skiabox
Posting Yak Master
169 Posts |
Posted - 2008-01-16 : 04:24:59
|
| I have a database with a field named room_number.I want to get all the rooms that have more than one record.Thank you for your help! |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-01-16 : 04:35:42
|
| SELECT room_number from Table group by room_number HAVING COUNT(*) >1 |
 |
|
|
|
|
|