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 |
|
ind_sql
Starting Member
16 Posts |
Posted - 2004-09-23 : 17:16:37
|
| i have a tableID name sequence hobby1 A 1 chess1 A 2 football1 A 3 baseball1 A 4 hockey1 A 5 basketball2 B 1 football2 B 2 baseball2 B 3 athletics2 B 4 chess 3 C 1 nothing3 C 2 everything3 C 3 noteverythingSo i want the result according to the max(sequence) as follows. The result i want isID NAME SEQUENCE HOBBY1 A 5 basketball2 B 4 chess3 C 3 noteverythingI hope you understand the query i want.Thanking you in anticipation |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|