• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






黄建军的技术博客

技术改变世界
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年6月21日

mysql replace (替换)
摘要: UPDATE `email_error` SET `email_error` = REPLACE( email_error, '%', '' ) WHERE 1 阅读全文
posted @ 2018-06-21 16:24 黄建军~万事皆项目 阅读(263) 评论(0) 推荐(0)
 
MySql反向模糊查询
摘要: 平时开发中,常用一些模糊查询,例如查询表格user中uname包含“塔”的数据,可以使用如下三种方式: select * from user where uname like '%塔%';select * from user where INSTR(uname,'塔');select * from 阅读全文
posted @ 2018-06-21 16:19 黄建军~万事皆项目 阅读(1517) 评论(0) 推荐(0)
 
mysql高级查询(转的)
摘要: 基本常用查询 --select select * from student; --all 查询所有 select all sex from student; --distinct 过滤重复 select distinct sex from student; --count 统计 select cou 阅读全文
posted @ 2018-06-21 16:14 黄建军~万事皆项目 阅读(569) 评论(0) 推荐(0)