Proszę bardzo: Select * from calendar_date as ,c where LEAST(c.end, end) - GREATEST(c.start, start) > 0