Q: How would I go about using / applying the row number of each row in a query to a certain column in the entire query?
I’ve added a screenshot to try and make things more obvious:

[The picture is only a simple example]
I would like to be able to directly use the value of the row number in such a context.
(Iterate over the values, somehow?)
Thanks in advance.
(Sorry if the question is a bit vague)
Try this :