insert into 表名(列名列表)values(值列表);
insert into 表名(列名列表) values(值列表1),(值列表2),... -- 插入多行记录
update 表名 set列名=值;
update 表名 set 列名=值where
delete from 表名 whereid=1;
truncate table表名;
select 列名列表 from表名;
例:select studentid,examid,comments from studentexam;
select professor.name fromprofessor;
select 列a as a,列b as b,列c as c from 表名as t;-- 用别名代替列名和表名
select distinct 列a from表;
select distinct 列a ,列b
select * from 表名 limit5;
select * from 表名 limit2,2;
联系客服