Adding a new column to the data selection

Hello
How can I add one column with ranking function to the table selection in query builder?


(this one, not the SQL editor)

I joined 2 tables by time period as a key, and now I need to rank every string in final table (final selection), but I can`t add new column by using the interface. I need to copy the received SQL query,


(like this)

open SQL editor for a new query, paste my received query and manually add new column with the required function - ranking.

How can I do that without the SQL editor and manual typing sql functions?

There is no RANK option currently in the GUI editor. The only window function currently supported is offset:

Maybe I can add a custom column with a SQL query in it via the gui editor somehow? If Ill add it, Ill be able to write SQL ranking condition for it. It`s part of the query after all.

You can write anything in SQL

It needs to be done in the editor, cause in the future this function will be used by employees, who dont know SQL, and thats the main problem.

But there is no option for that in the editor right now