В основном то, что сказал Майкл Бротон:
create table addr (name varchar2(10), address varchar2(20), moved_in date, moved_out date, known_end_date varchar2(1));
insert into addr values ('jack','123 main st',date '2015-01-01',date '2015-12-31','Y');
insert into addr values ('jill','123 main st',date '2016-01-01',date '2016-12-31','Y');
insert into addr values ('jeff','123 main st',date '2017-01-01',date '2017-12-31','Y');
insert into addr values ('jane','123 main st',date '2018-01-01',date '2018-12-31','N');
select *
from addr
where moved_in <= to_date(:end_date, 'MM/DD/YYYY')
and (moved_out >= to_date(:start_date, 'MM/DD/YYYY') or known_end_date = 'N');