查询:
select 列名 from 表名 条件(where )
更新:
update 表名 set 列='值‘,列='值’
插入:
insert into 表名(列名1,列名2,...,列名d) value(‘值1’,‘值2’,...,‘值d’)
删除:
delete from table where 列='值'
inner jion,left jion,right jion,full outer jion;
select 列名
from table 1
inner jion table 2
on table1.column_name=table2.column_name
select 列名
from table 1
left jion table 2
on table1.column_name=table2.column_name
select 列名
from table 1
right jion table 2
on table1.column_name=table2.column_name
select 列名
from table 1
full outer jion table 2
on table1.column_name=table2.column_name
参考:https://www.cnblogs.com/reaptomorrow-flydream/p/8145610.html