![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
nidiquge
这个作者很懒,什么都没留下…
展开
-
使用mysql“=null”的问题
select last_name, job_idfrom employeeswhere manager_id is null;select last_name, job_idfrom employeeswhere manager_id <=> Null;select last_name, job_idfrom employeeswhere manager_id = Null;最后一个 = null 是错误的如果等号两边的值、字符串或表达式中有一个为NULL,原创 2022-02-19 21:32:53 · 1620 阅读 · 0 评论 -
notpad++输入制表符显示四个空格
只要勾选替换为空格就行了。原创 2022-01-28 20:44:37 · 518 阅读 · 0 评论 -
MySQL常见命令与语法规范
启动与关闭MySQLnet start 服务名net stop 服务名登录和退出MySQLmysql [-h主机名 -p端口号] -u用户名 -p密码--退出exit或者ctrl+cMySQL常见命令1.查看当前所有的数据库show databases;2打开指定的库use 库名3查看其它库的所有表show tables;4查看其它库的所有表show tables from 库名;5创建表create table 表名( 列名 列类型, 列名 列类型, .....原创 2021-10-15 19:08:01 · 103 阅读 · 0 评论