Can anyone help me figure out the correct WHERE clause for the following scenario:
select A.name from tableA A, tableB B where A.id = B.id and ( B.field = 5 OR B.hasNoRowForJoinedID ) I feel like I'm missing something really obvious here in how to accomplish this, but I can't for the life of me put my finger on it.