select a.id, a.data1, a.data2, b.info1, b.info2
from table1 a left outer join table2 b on
a.id = b.id
This gives you EVERY record in table1
even if there isn't a match record in table2
meaning... like the above id=4 is in table1 but not in table2, you'll still get the record from table1...