The past tense of have the upper hand over is had the upper hand over.
The third-person singular simple present indicative form of have the upper hand over is has the upper hand over.
The present participle of have the upper hand over is having the upper hand over.
The past participle of have the upper hand over is had the upper hand over.