For instance can
SELECT foo FROM bar WHERE foo BETWEEN 5 AND 10
select 5 and 10 or they are excluded from the range?