oraclejunior
Technical User
I have a select query with a where condition but a number of the conditions may contain Nulls which results in nothing being returned by the query. How do I get around this eg
From CellTable, ElementTable A1, ElementTable A2
WHERE CellTable.Elememt1ID = A1.ElementID
CellTable.Element2ID = A2.ElementID
But the thing is that Element2ID may be null ie the record does not have an Element2ID assigned to it.
This is causing the query to return nothing. What is the work around?
From CellTable, ElementTable A1, ElementTable A2
WHERE CellTable.Elememt1ID = A1.ElementID
CellTable.Element2ID = A2.ElementID
But the thing is that Element2ID may be null ie the record does not have an Element2ID assigned to it.
This is causing the query to return nothing. What is the work around?