Access語法
2013/06/03 20:05
瀏覽226
迴響0
推薦2
引用0
[新增]insert into _____(___,___) values('____','____')
[刪除]delete from ____ where ___='__'
[修改]update ____ set ____='____' where ___='___'
[查詢]select ___ from ___ where ____ group by ___ having order by ___
[查詢]select ___ from ___ =''
[建立]create table ___
(欄位名1 資料型態 [null/not null] [default value1],
欄位名2 資料型態 [null/not null] [default value2],
欄位名3 資料型態 [null/not null] [default value3],
...
primary key (欄位名稱),foreing key (欄位名稱) references <表格名> (欄位名稱))
[刪除]drop table ___ cascade
[刪除]drop table ___ restrict
[更改/新增]alter table ___ add ___varchar(__)
[更改/刪除]alter table ___ drop ___
[更改/修改]alter table ___ alter ___
你可能會有興趣的文章:
限會員,要發表迴響,請先登入