Compare Data from 2 data source in one trend

I have master data in InfluxDB “test1” and I want to compare the master data with Current Data in InfluxDB “test2” in One trend. How i can do it? please help.