Use automation.
1) Run the query against the first database and save it in CSV.
2) Run the query against the second database and save it in CSV.
3) Use the data compare in automation, select the source and target as CSV and map the fields.
4) Automation has ton of feature like (delete the files, create new ones etc)
Let me know how that goes.