SELECT COUNT($col) FROM $table WHERE $col <= $this_row_col_value
Or perhaps I misunderstand what you mean by "rank", if so, please explain.
In reply to Re: Ranking position in a SQL index
by jZed
in thread Ranking position in a SQL index
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |