071考試是OCP認證的一個重要科目,不少考生都在這里受傷,對此我們專門收集整理了近期071考試的原題,并對071題庫進行了講解,希望幫助大家順利通過071考試。
--------------------------------------------
071考試原題分享-第59題、choose two:
Which two statements are true regarding the USING and ON clauses in table joins?
A) The ON clause can be used to join tables on columns that have different names but compatible data types.
B) A maximum of one pair of columns can be joined between two tables using the ON clause.
C) Both USING and ON clauses can be used for equijoins and nonequijoins.
D) The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause.
Answer:AD
(解析:D 答案正確,不管是 ON,還是 USING 子句,都要以在后面再添加 where 子句進行補充篩選;B 答案錯誤,ON 子句可以連接多個列;
using 不能用于不等連接
using 連接的字段可以 data type 不等,但是名字要相等
using 跟 natural join 是相互排斥的
using 的字段是不能夠再起別名
on 連接的字段 data type 要一致,名字可以不一樣
where 條件和 on 條件是分開處理的
)
-----------------------------------------------
OCP解析公開課時間:【每周五晚8點】
OCP解析公開課地址:https://ke.qq.com/course/326223
OCP解析群資料分享:1015267481 驗證:ocp
另外,除了OCP公開課,OCM題庫直播也同步進行中,OCM最新題庫大爆料-【每周四晚8點】,【微信群直播】,可以聯(lián)系咨詢老師進群參與