Is there a way to return the number of row in a query as a query function?
For example, if I have a table:
George
John
Dave
I want a query that returns:
1|George
2|John
3|Dave
If I sort it:
1|Dave
2|George
3|John
If I filter John out:
1|George
2|Dave
And so on. No matter what I do, the first field should return the number of row in the query.
Can it be done?
For example, if I have a table:
George
John
Dave
I want a query that returns:
1|George
2|John
3|Dave
If I sort it:
1|Dave
2|George
3|John
If I filter John out:
1|George
2|Dave
And so on. No matter what I do, the first field should return the number of row in the query.
Can it be done?