![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
weixin_43473360
这个作者很懒,什么都没留下…
展开
-
Case When Else End用法详解
更新数据update table set 字段1=case when 条件1 then 值1 when 条件2 then 值2 else 值3 end where …… 查找数据select 字段1, 字段2, case 字段3 when 值1 the...原创 2018-11-06 14:02:39 · 2207 阅读 · 0 评论 -
【转】mysql中为同一张表取多个别名
select employee1.name as employee from employee employee1,employee employee2 where employee1.managerId=employee2.id and employee1.salary>employee2.salary;这里给同一张表取别名的方法...转载 2018-11-05 20:21:16 · 5497 阅读 · 1 评论 -
Win下安装 Mysql
Mysql 下载先去官网下载 :https://dev.mysql.com/downloads/mysql/按照图片的步骤,就下载好了。下载完之后需要手动解压一下解压完之后 就是上面这个样子。不过没有data这个文件夹。注意:不要解压到C盘。前辈的经验,所以我也没有解压到C盘。在当前目录下新建 my.ini文件,复制如下内容[mysqld]port = 3306basedi...原创 2019-03-07 10:42:00 · 131 阅读 · 0 评论