I have the following tables in Oracle DB 11g
irrigation
----------------
militet_applied,
close_date
rainfall
---------------
rain_index,
reading_date
And I'd like to make a select similar to this:
select r.rain_index,
i.militet_applied
from irrigation i, rainfall r
But in my where clause
I would like to do the following:
- If r.reading_date = i.close_date
brings me the (i.militet_applied)
values,
but also
r.reading_date
is equal to / does not have in column i.close_cycle
, it brings null values (i.militet_applied
).
I am counting on you in this doubt.