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%';