Hi guys I need your help!

I have a select query that joins 2 table. What I would like to happen is that the result of that query (2 join table) will be join to another select query result.

example (2 join table)
| x | y |
| 1 | x |
| 2 | y |

to be join on another select query

| w | q |
| 1 | R |
| 3 | E |

result would be

| x | y | q |
| 1 | x | R |
| 2 | y | Null |

How could I possibly do this?

Thanks in advance