select * from ActivityCourse where 1=1
and ('17/11/2012' between 'startDate' and 'endDate' )
or ( '13/11/2012' between 'startDate' and 'endDate' )打了这条sql为什么没有数据显示
and ('17/11/2012' between 'startDate' and 'endDate' )
or ( '13/11/2012' between 'startDate' and 'endDate' )打了这条sql为什么没有数据显示
楼主 sql 学的太好了