SQL語(yǔ)句大全是一款pdf中文版的高清電子書,是目前最完整的經(jīng)典珍藏版本。詳細(xì)的介紹了sql語(yǔ)句的數(shù)據(jù)操作,數(shù)據(jù)定義,數(shù)據(jù)控制,事務(wù)控制,程序化sql,局部變量,全局變量,系統(tǒng)函數(shù)等命令,是初學(xué)者,程序設(shè)計(jì)員必學(xué)的數(shù)據(jù)庫(kù)操作語(yǔ)言。
基本語(yǔ)句
選擇:select * from table1 where 范圍
插入: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%’ (所有包含‘value1’這個(gè)模式的字符串)---like的語(yǔ)法很精妙,查資料!
排序:select * from table1 order by field1,field2 [desc]
總數(shù):select count(*) as totalcount from table1
求和:select sum(field1) as sumvalue from table1
平均:select avg(field1) as avgvalue from table1
最大:select max(field1) as maxvalue from table1
最小:select min(field1) as minvalue from table1[separator]
發(fā)展歷史
DDLDML
DCL
SELECT 陳述式
SQL中的五種數(shù)據(jù)類型
安全問(wèn)題
SQL查詢語(yǔ)句精華使用簡(jiǎn)要
優(yōu)化SQL十個(gè)重要步驟 簡(jiǎn)介

使用教程
1、文檔是pdf文檔打開需要安裝“福昕閱讀器”或者“adobe reader 10.0”;2、下載完成后右鍵點(diǎn)擊打開方式

