Querying results from another query

Hi,

I have a bit of a strange situation and from looking online I havent managed to see anything that is obviously the same.

I have a js app that writes a query and then passes it to the backend to actually be executed. This query could change at any time and be an entirely different query from time to time.

I also have another query on the backend that needs to run first.

Is there anyway that I can get the results from one query and then run another query on them results?

Not sure if I have explained it well so if you need more info please ask but any help would be massively appreciated.

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.