SQL:comparison using between
From: Hayashi! <wlam_at_gpu3.srv.ualberta.ca>
Date: 1996/08/14
Message-ID: <4uskin$dis_at_pulp.ucs.ualberta.ca>#1/1
Date: 1996/08/14
Message-ID: <4uskin$dis_at_pulp.ucs.ualberta.ca>#1/1
hi,
I seem to have trouble figuring out the correct way of
using BETWEEN. (for example:
all it gives me as a result is "no rows selected" but that isn't true
I'm not sure if I have written something incorrectly.
hope someone could give me some suggestions as to overcome this problem
Thanks!
select description,month,day,year
from deadline
where (month||' '||day||' '||year)
between ('MAR'||' '||'08'||' '||'96')
and ('JAN'||' '||'01'||' '||'97');