sql: inner join vs outerjoin vs ...