|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by MerlaP83 in Interbase / Firebird Database, Delphi Database, SQL Query Syntax
I'm sorting a table by points (sports sim) and I would like to figure out how I can get the row/result number saved to a field called Position?
So, basically the first result would have its Position set to '1', the second result would have its position set to '2' etc..
1:
2:
3:
|
Lag.close;
Lag.sql.text := 'select Klubb, GP, W, L, D, PTS, GF, GA from Lag where division = ''NHL'' order by PTS DESC, W DESC, GF DESC, Klubb ASC';
Lag.Open;
|
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625