Help getting the name of the same ID in multiple Columns from the same table

PHP Help

I have 2 tables.
Table 1
team_id, team_name

Table 2
teama_id, teamb_id

I need to get the team name for the teama_id and teamb_id from table 1 Im having a hard time since im not sure how to refer to the same table twice. I tried using Alias but I cant seem to figure it out… any help would be great…

Sponsor our Newsletter | Privacy Policy | Terms of Service