摘要: 基础查询: select * from 表名 ; 基础条件查询: select * from 表名 where 条件; 模糊查询: select * from 表名 where name like ' %装置% ' ; 查询所有 name 中包含 “装置”的信息; select * from 表名 阅读全文
posted @ 2019-09-26 15:50 易水蜗牛 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 本文链接:https://blog.csdn.net/weixin_42572884/article/details/82951675一,数据库: 1. 查询数据库:show database; 2. 查询所在库:select database; 3. 指定查询库:show database 数据库 阅读全文
posted @ 2019-09-26 10:19 易水蜗牛 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://baijiahao.baidu.com/s?id=1621550485415145218&wfr=spider&for=pc 数据查询是Mysql数据库管理最重要的一个功能,有些时候,并不需要返回数据本身,只需要对数据进行统计计算总结,那么就需要用到聚合函数进行查询,本文主 阅读全文
posted @ 2019-09-26 10:12 易水蜗牛 阅读(634) 评论(0) 推荐(0) 编辑