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 - 2001-03-29 : 07:33:38
|
Steve writes "Is it possible to produce a list of the 'top' values for each identifier in a table?
I have the following table; PointData ------------------ pointID integer (FK, PK) pointDataTime datetime (PK) pointDataValue float
I would like to select the pointDataTime of the largest value of pointDataValue for each pointID, using a single query.
In a similar vein, it would be useful to get the pointDataTime of the last value reading for each pointID.
I am running SQL Server 2000 on Windows 2000." |
|
|
|
|
|