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 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2005-03-14 : 03:25:03
|
| I want to select all unique states from zipcodes (zipcodes table has many entries and I basically wnat to get the list of states from it)when I do select unique statecode from zipcodesI get an error. What is the correct syntax? |
|
|
LarsG
Constraint Violating Yak Guru
284 Posts |
Posted - 2005-03-14 : 03:56:03
|
| [code]select distinct statecode from zipcode[/code] |
 |
|
|
|
|
|