I have 2 tables.
submission(submissionID, teamID)
team(teamID, teamNames)
I have 2 records inside team: (2, john)
and (3, peter)
inside submission i have: (3,3)
When i use this:
select teamName, t.teamID
from team t
inner join submission s on t.teamID = s.teamID
where submissionID is null
it return no result back
I have seen some of the example of selecting column when is null
but it doesn't work for me.