select * from tb where @st between tb.st and tb.et or @et between tb.st and tb.et or tb.st between @st and @et