String sql =“select * from (select xm,xb,nl from t_person where csrq between ? and ? and sg >= ?) t where xb =? and xm =?”;
我有如上一个sql字符串,如何能解析出查询字段和条件字段?
...全文
41266打赏收藏
java解析sql语句
String sql =“select * from (select xm,xb,nl from t_person where csrq between ? and ? and sg >= ?) t where xb =? and xm =?”; 我有如上一个sql字符串,如何能解析出查询字段和条件字段?