
insert into 表名 values (值,值,值...);utf8 (charset) 


类型系统
动静态类型
insert into 表名(列名1,列名2...) value(值1,值2...);
insert into 表名 value(),(),();

now()

select * from 表名;* 称为通配符(“赖子”),可以指代所有的类select *!!!

select 列名1,列名2... from 表名;

select 表达式 as 别名 from 表名; //as 可以省略
select distinct 别名 from 表名;`
select 列名 from 表名 order by 表名;select 列名 from 表名 order by 表名 desc; //descendselect 列名 from 表名 order by 表1, 表2, ...
select 列名 from 表名 where 条件;
select * from exam where math<30;
select * from exam where math<english;
( )

( , ]


孙%%孙%孙%

_ 就占一个位

= 直接语 null 进行比较,要用 <=>

select 列名 from 表名 limit N;offset,从下标为几的记录开始算

这是真正在改写硬盘里面的数据,是“持久有效的”
updata 表名 set 列名=值, 列名=值...;
delete from 表名 where 条件/order by/limit;全删,但 空表 还在drop 是连表带数据一起删
