一、增删改查(对表内数据)
增:insert into table1(field1,field2) values(value1,value2) 删:delete from table1 where 范围 改:update table1 set field1=value1 where 范围 查:select * from table1 where field1 like ’%value1%’
二、创建删除表+对表的列属性修改
创建表create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)
删除表drop table tabname
增加一个列Alter table tabname add column col type
三、创建删除数据库
CREATE DATABASE 数据库名
drop database dbname