I'm having a lot of issues with SQL, I'm not sure how to do what I need, but the series of steps is this:
Have two tables. Table 1 has a 'game_id'
Table 2 has a 'game_id' and 'id' Where 'game_id' is the same as the first table.
Table 1 is a list of games. Table 2 is a list of franchises.
I'm trying to make a sql query that will ONLY show the games from a franchise.
I have this:
SELECT * FROM gamedata_similar_games
INNER JOIN gamedata_franchises
ON gamedata_franchises.id='244'
WHERE gamedata_similar_games.game_id= '6959'
But it returns 335 results. The game is in a franchise with 6 games in it.
Is this too unclear?