TotalEnergies interview question

How to connect two database