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 - 2004-07-02 : 09:07:41
|
| Annie writes "Look at the tableTable1userid projid10 2010 3010 4020 2020 4050 3050 6050 9050 80i want a select qury which will returntable2 userid projid10 2020 2050 30" |
|
|
ditch
Master Smack Fu Yak Hacker
1466 Posts |
Posted - 2004-07-02 : 09:22:52
|
| select userid, min(projid) as projidfrom table1group by useridDuane. |
 |
|
|
|
|
|