摘要: 1.今天 select * from byzp_personinfo where to_days(birthday) <= to_days(now()); 2.昨天 select * from byzp_personinfo where to_days(NOW()) - TO_DAYS(birthd 阅读全文
posted @ 2022-03-11 17:28 狼窝窝 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 工具下载:http://www.profilesql.com/use/ 使用方法: 1、安装后配置mysql连接地址 2、确保Monitor里面 DB Server 和profiler 都是绿色状态 3、确保第三方应用连接mysql时,端口是4040而非默认的3306或自定义端口 (此端口是监控工具 阅读全文
posted @ 2022-03-11 11:20 狼窝窝 阅读(729) 评论(0) 推荐(0) 编辑
摘要: StringBuilder sb = new StringBuilder(); sb.Append("select a.id,a.stationid,a.stationname,a.stationdesc,a.keycode,"); sb.Append("b.address,b.area,b.cit 阅读全文
posted @ 2022-03-11 11:16 狼窝窝 阅读(848) 评论(2) 推荐(0) 编辑