摘要: 概念: 1. C/S架构: 1. C:client 客户端 2. S: server 服务端,为所有的用户提供服务 2. B/S架构:只要在浏览器输入网址就可以直接使用了 1. B:browser 浏览器 2. S: server 服务端 3. B/S更好:更节省资源,不用更新,不依赖环境, 统一了 阅读全文
posted @ 2019-12-19 20:20 丶Howie 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 多表查询 1. 连表: 1. 内连接:所有不在条件匹配内的数据们都会被剔除连表 select from 表名1,表名2 where 条件; select from 表名1 inner join 表名2 on 条件; 2. 外连接: 1. 左外连接:left join select from 表名1 阅读全文
posted @ 2019-12-19 20:03 丶Howie 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 单表查询:select from 表 where 条件 group by 分组 having 过滤 order by 排序 limit n; 1. 语法: select distinct 字段1,字段2... from 表名 where 条件 group by 组名 having 筛选 order 阅读全文
posted @ 2019-12-19 19:59 丶Howie 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 命令: 1. mysqld install; 配置数据库 2. net start mysql;启动数据库 3. mysql uroot p; 以root权限启动数据库, p之后输入密码 4. mysql uroot h"IP地址" p; 设置远程连接 5. set password = passw 阅读全文
posted @ 2019-12-19 19:57 丶Howie 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 分类: 1. 关系型数据库:mysql oracle sqlserver sqllite 2. 非关系型数据库:redis mongodb memcache hbase 安装: 1. 网址:https://www.mysql.com 2. 点击download跳转https://www.mysql. 阅读全文
posted @ 2019-12-19 19:55 丶Howie 阅读(169) 评论(0) 推荐(0) 编辑