I am looking for a way to create a temporary column which will keep a running count of a select statement. For example,
select * from table where field like '%engineering%'
let's say this returns 30 rows, what I would like to do is have a column say tempCount to actually contain the values of the rows i.e.
tempCount field someCol
1 eng... someData
2 ... ...
3
and so on.
This may not be feasible, or the wrong way of going about this so any information would be greatly appreciated. Thanks