Talvez use LEFT JOIN. SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id Veja este excelente post de Jeff Atwood .