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 |
|
kaisdd
Starting Member
17 Posts |
Posted - 2006-06-08 : 14:58:27
|
| hello there,i think i´m stuck with a sql query. hope somebody can help.i have a tabel wich saves the number of access to items per day.structure:AccessID (int, pkey)AccessItemID (int)AccessDate (smalldatetime)AccessCount (smallint)i need to return 1 to n top record(s) for each day. thats it. but i can´t figure it out. |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
kaisdd
Starting Member
17 Posts |
Posted - 2006-06-08 : 15:57:34
|
| ups. i´m sorry. i think i found it.it´s that "top n for each group" thing. ;)sorry for my question |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|