資料庫SQL語法與View和Table的差別請教... - 考試
By Genevieve
at 2016-09-06T08:34
at 2016-09-06T08:34
Table of Contents
※ 引述《han999 (鎧材校直定尺切斷機)》之銘言:
: 問題1.假設-
: 表格為file,欄位為n01=姓名、d02=生日、s03=性別(B/G)、i04=身份字號,
: 若是要下SQL語法且生日範圍為1980/01/01至1985/12/31,性別為G的姓名,生日,身份字
: 號等條件要怎麼寫?
select n01,d02,i04
from file
where d02>='1980/01/01' and d02<='1985/12/31' and s03='G'
: 問題2.說明關於資料庫視域(View)及表格(Table)的差別?
Table是實體 View是虛擬 View建構於Table上
--
: 問題1.假設-
: 表格為file,欄位為n01=姓名、d02=生日、s03=性別(B/G)、i04=身份字號,
: 若是要下SQL語法且生日範圍為1980/01/01至1985/12/31,性別為G的姓名,生日,身份字
: 號等條件要怎麼寫?
select n01,d02,i04
from file
where d02>='1980/01/01' and d02<='1985/12/31' and s03='G'
: 問題2.說明關於資料庫視域(View)及表格(Table)的差別?
Table是實體 View是虛擬 View建構於Table上
--
Tags:
考試
All Comments
By Puput
at 2016-09-07T10:05
at 2016-09-07T10:05
By Annie
at 2016-09-09T13:48
at 2016-09-09T13:48
By Oscar
at 2016-09-10T21:09
at 2016-09-10T21:09
By Heather
at 2016-09-14T13:38
at 2016-09-14T13:38
By Valerie
at 2016-09-14T15:12
at 2016-09-14T15:12
By Leila
at 2016-09-17T08:57
at 2016-09-17T08:57
Related Posts
全錄/元碩外軌三等行政警察 師資請益?
By Hedda
at 2016-09-06T08:18
at 2016-09-06T08:18
資料庫SQL語法與View和Table的差別請教...
By Selena
at 2016-09-06T01:26
at 2016-09-06T01:26
請問擬辦事項與考試公文的辦法,是否同?
By Eden
at 2016-09-06T01:13
at 2016-09-06T01:13
103中油雇員 電機機械 答案有誤?
By William
at 2016-09-06T00:55
at 2016-09-06T00:55
高普考如何入門
By Genevieve
at 2016-09-06T00:50
at 2016-09-06T00:50