1、 创建数据库 CREATE DATABASE
2、 修改数据库 ALTER DATABASE
3、 删除数据库 DROP DATABASE
4、创建表 CREATE TABLE
5、修改表名 RENAME TABLE tb1_name TO new_tb1_name;
6、复制表 CREATE TABLE
7、删除表 DROP TABLE IF EXISTS test;
8、插入: insert into 数据库名.表名 [(字段名1,字段名2,…)] values(值1,值2,…);
9、删除: delete from 表名 where条件
10、更新: update 表名 set 列名1=值1,列名2=值2,… wher0.e 条件;
11、查询: select 字段名1,字段名2,… from 表名 where 条件 group by (结果)having order by 条件 limit 偏移量,长度;
12、where select 字段列表 from 表名 where 条件
where包含运算符