表ä¸æ两个å段ï¼ä¸ä¸ªæ¯å¼å§æ¶é´ï¼ä¸ä¸ªæ¯ç»ææ¶é´ã
å段ä¸å¦ï¼2011-01-01
å段äºå¦ï¼2011-03-31
æ¥è¯¢æ¡ä»¶å¦ä¸ï¼
æ¡ä»¶ä¸ï¼2011-03-02
æ¡ä»¶äºï¼2011-04-01
select * from tb where å¼å§æ¶é´<=æ¡ä»¶äº and ç»ææ¶é´>=æ¡ä»¶ä¸
温馨提示:答案为网友推荐,仅供参考