1.使用转移字符
SELECT * FROM test WHERE 1 = 1 AND start_date <= CURRENT_DATE AND end_date >= CURRENT_DATE
2.使用<![CDATA[ ]]>符号来进行说明在这个符号下的符号不进行解析
<![CDATA[ when min(starttime)<='12:00' and max(endtime)<='12:00' ]]>
1.使用转移字符
SELECT * FROM test WHERE 1 = 1 AND start_date <= CURRENT_DATE AND end_date >= CURRENT_DATE
2.使用<![CDATA[ ]]>符号来进行说明在这个符号下的符号不进行解析
<![CDATA[ when min(starttime)<='12:00' and max(endtime)<='12:00' ]]>