I'm stuck on this problem, let me explain.
I have two table one called league
that have this structure:
id|leagueCode|Country|League
0 | B1 |Germany|Bundesliga
1 | I1 | Italy |Serie A
another table called soccerseason
have this structure:
id|caption |League |years
0|Bundesliga|B1 |2014
1| Serie A | I1 |2014
Now, I want eet the league
values from the League
table. In particular Bundesliga and Serie A. How you can see in the soccerseason
table each value have a years, so I want select Bundesliga for the year 2014
and Nation Germany
. Because my app, have this selection structure:
Select year: 2014
Select nation: Germany
I'm aspect a result like this: Bundesliga
How I can achieve this?