select * from mytable where to_char(install_date,‘YYYYMMDD‘) > ‘20050101‘; select * from mytable where install_date > to_date(‘2005-01-01‘,‘yyyy-mm-dd‘);
app_key like CONCAT(‘%‘,CONCAT(#{appKey},‘%‘))
原文:http://www.cnblogs.com/cangqiongbingchen/p/6434337.html