I want to query two databases. I want all fields from db1 and one more field from db2.
The command is like this:
select name from db2 where id in (select id from db1 where date > '2018-1-1')
Then I need to query db1 for all the fields again.
select * from db1 date > '2018-1-1'
How to combine these two queries?