How to join queries and query_results table in Redash internal DB

I want to join queries and query_results table in redash internal DB but I cannot find a key between them.

The closest key between them would be the query hash. What’s the use case for joining these together?