11-12-2008, 10:35 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Posts: 31
Thanks: 0
|
Need some help with SQL Join... Cant seem to come up witha working solution
The problem:
Table `games` has the fields `genre`, `publisher`, `developer` which contains `id`s to repsective tables `genres`, `publishers`, and `developers`. I need to create a JOIN (I believe it's an INNER because both need to have values and should have values) that merges the the ids into the respective names.
Example: $game['genre'] now will represent 'Volcom', because the replace $game['genre'] pulled up the `genres` table and found Volcom to match the `id`
|
|
|
|