摘要:
简单的例子:好记性不如烂笔头 其基本语法规则是 merge into 目标表 a using 源表 b on(a.条件字段1=b.条件字段1 and a.条件字段2=b.条件字段2 ……) when matched then update set a.更新字段=b.字段 when not macth 阅读全文
摘要:
su 切换用户clear 清屏ifconfig 查看网络连接ifconfig 网卡名 down 关闭网卡ifconfig 网卡名 up 启用网卡dhclient 网卡名 自动获取IP地址ifconfig -a 查看详细信息ps -ef|grep sshd 查看sshd服务是否启动kill -9 PI 阅读全文
摘要:
MySQL中 进行排序的方式: Select * from 表名 [where 条件 order by 字段名(默认的是ASC升序排列)] ASC是升序排列,DESC用来指定降序排列 Oracle中子查询: Select * from 表名 where 条件 (select * from 表名 wh 阅读全文