I am using this query but coming up with nulls in all of the columns. how could i get rid of this? So it becomes a Empty set?
SELECT players.id, players.room, players.money, players.cellx, players.celly, max(levels.level) as level
FROM players, levels
WHERE players.xp - levels.xp >= 0 AND id=12;
+----+------+-------+-------+-------+-------+
| id | room | money | cellx | celly | level |
+----+------+-------+-------+-------+-------+
|NULL| NULL | NULL | NULL | NULL | NULL |
+----+------+-------+-------+-------+-------+