DDL:html
create:建立一个表spa
create table b( clob char(1) );
alter:增长已经定义的表列的分配code
drop:删除一个表htm
desc:查看一个表的定义table
DML:class
selelct:date
select * from b;
insert:select
insert into state values('fds','fds');
update:修改已有的数据搜索
delete:删除已有的数据数据
带or/and的where子句:
select a,b,c from tablename where a='111',and b='222';
select a,b,c from tablename where a='111',or b ='222';
带not的where子句
select a,b,c from tablename where a != 1;
带搜索范围的where子句
select a,b,c from tablename where b between 1 and 19;
带搜索列表的where子句
select a,b,c from tablename where a in ('1','2');
带模式搜索的where子句
select a,b,c from tablename where a like 'a%';