多項選擇題若要創(chuàng)建一個查詢,以返回一個或多個表中的所有行(無論在另一個表中是否含有相匹配行),則需要使用()

A.左外連接
B.右外連接
C.內(nèi)連接
D.自身連接


您可能感興趣的試卷

你可能感興趣的試題

2.多項選擇題數(shù)據(jù)庫中有一張表名為Emp,包含有如下列:EmpNO(雇員編號,Varchar(20),Pk),Job(職位Varchar(10)),HirDate(雇傭日期,Date),Sal(月薪,F(xiàn)loat)。查詢出受雇于1981年的雇員信息是()

A.elect * From Emp Where HirDate>='1981-1-1' And HirDate <='1981-12-31'  
B.Select * From Emp Where Between In '1981-1-1' And <'1981-12-31'
C.Select * From Emp Where Between In '1981-12-31' And <'1981-1-1'  
D.Select * From Emp Where HirDate>='1981-1-1' NOT HirDate <='1981-12-31'

3.多項選擇題數(shù)據(jù)庫中有一張表名為Emp,包含有如下列:EmpNO(雇員編號,Varchar(20),Pk),Job(職位Varchar(10)),HirDate(雇傭日期,Date),Sal(月薪,F(xiàn)loat),Comm(獎金,F(xiàn)loat,可為空)。查詢出雇員編號為791,792,793的雇員信息是()

A.Select * From Emp Where EmpNO  In('791','792','793') 
B.Select * From Emp Where EmpNO ='791' Or EmpNO='792' OR EmpNO='793' 
C.Select * From Emp Where EmpNO >='791' And EmpNO<='793' 
D.Select * From Emp Where EmpNO >'791' And EmpNO<'793'

4.多項選擇題數(shù)據(jù)庫中有一張表名為Emp,包含有如下列:EmpNO(雇員編號,Varchar(20),Pk),Job(職位Varchar(10)),HirDate(雇傭日期,Date),Sal(月薪,F(xiàn)loat),Comm(獎金,F(xiàn)loat,可為空)。查詢出雇員編號不為791,792,793的雇員信息應(yīng)該是用哪些數(shù)據(jù)查詢?()

A.Select * From Emp Where EmpNO Not In('791','792','793') 
B.Select * From Emp Where EmpNO !='791' AND EmpNO!='792' And EmpNO='793' 
C.Select * From Emp Where EmpNO <>'791' AND EmpNO<>792' And EmpNO=<>793' 
D.Select * From Emp Where EmpNO =!'791' AND EmpNO =!'792' And EmpNO =!'793'