Ok here is an update:
the games table:
id|title
the reviews table:
id|gid|review
What I am trying to do is select all games that have not been reviewed, meaning that in the reviews table there will be no entries where the gid is available. Obviously if there is no entry in the reviews table with a gid, that game has not been reviewed. I am trying to retrieve those.
So I took Lord's query and adjusted it and here it is:
//Get games
$sqlREV = "SELECT ";
$sqlREV.= "g.id, g.title ";
$sqlREV.= "FROM ";
$sqlREV.= "games g ";
$sqlREV.= "LEFT JOIN ";
$sqlREV.= "review r ";
$sqlREV.= "ON ";
$sqlREV.= "g.id = r.gid ";
$sqlREV.= "WHERE ";
$sqlREV.= "r.gid IS NULL ";
$sqlREV.= "ORDER BY ";
$sqlREV.= "g.title ";
$sqlREV.= "ASC";
$queryREV = mysql_query($sqlREV);
This returns no results at all 🙁