网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
Consider this syntax: MERGE INTO t1 USING t2 ON (join predicate)….. What does the MERGE syntax do?()
A
It performs a merge join of the row from T2 only if it doesn’t exist in the T1 table.
B
It creates a natural join of tables T1 and T2 for all columns that have the same name.
C
It creates a Cartesian product of table T1 and table T2 for all columns that have the same name.
D
For each row from T2, it updates the row if it exists within table T1, otherwise it inserts the row into T1.
参考答案
参考解析
解析:
暂无解析
更多 “单选题Consider this syntax: MERGE INTO t1 USING t2 ON (join predicate)….. What does the MERGE syntax do?()A It performs a merge join of the row from T2 only if it doesn’t exist in the T1 table. B It creates a natural join of tables T1 and T2 for all columns that have the same name. C It creates a Cartesian product of table T1 and table T2 for all columns that have the same name. D For each row from T2, it updates the row if it exists within table T1, otherwise it inserts the row into T1.” 相关考题
考题
下面不属于同一函数模板的是()。A.template t1 max(t1 a,t1 b) {…}template
下面不属于同一函数模板的是( )。A.template<class t1> t1 max(t1 a,t1 b) {…}template<class t2> t2 max(t2 a,t2 b) {…}B.template<class t1>t1 max(t1 a,t1 b){…}template<class t2>t2 max(t2 a,t2 b){…}C.template<class t1> t1 max(t1 * a,t1 * b) {…} template<class t2> t2 max(t2 a,t2 b) {…}D.template<class t1>t1 max(t1 a,t1 b){…}template<class t2>t2 max(t2 a,t2 b,t2 c){…}
考题
Given that tables T1 and T2 contain the following rows:Table T1: C1 C2 1 4 1 3 1 2Table T2: C1 C2 1 1 1 2 1 3Which of the following queries will return only those rows that exist in both T1 and T2?()
A.SELECT * FROM t1 UNION SELECT * FROM t2B.SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2C.SELECT * FROM t1 INTERSECT SELECT * FROM t2D.SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)
考题
Which two statements are true regarding the USING clause in table joins?()A、It can be used to join a maximum of three tables B、It can be used to restrict the number of columns used in a NATURAL join C、It can be used to access data from tables through equijoins as well as nonequijoins D、It can be used to join tables that have columns with the same name and compatible data types
考题
在下列模板说明中,正确的是()A、template〈typename T1,T2〉B、template〈class T1,T2〉C、template〈typename T1,typename T2〉D、template(typedef T1,typedef T2)
考题
下面哪个调度是串行调度()。A、T1:RA.,T2:RB.,T2:WB.,T1:WA.B、B.T1:RB.,T1:WB.,T2:R,T2:WA.C、C.T1:R,T2:RB.,.T1:WA.,T2:WB.D、D.T2:R,T1:RB.,.T1:WA.,T2:WB.
考题
存在两个结构相同的数据库表T1(col1,col2,col3)、T2(col1,col2,col3),写出一SQL语句将所有T1数据导入到T2表()A、select col1,col2,col3 from T1 into T2(col1,col2,col3)B、insert T1 (col1,col,col3) into T2(col1,col2,col3)C、insert into T2 (col1,col2,col3) as select col1,col2,col3 from T1D、insert into T2(col1,col2,col3) select col1,col2,col3 from T1;
考题
Given that tables T1 and T2 contain the following rows: Table T1: C1 C2 5 4 5 2 5 5 Table T2: C1 C2 5 1 5 2 5 3 Which of the following queries will return only those rows that exist in T1 and not in T2?()A、SELECT * FROM T1 MINUS SELECT * FROM T2B、SELECT * FROM T1 EXCEPT SELECT * FROM T2C、SELECT * FROM T2 UNION EXCEPT SELECT * FROM T1D、SELECT * FROM T1 NOT EXISTS SELECT * FROM T2
考题
Consider this syntax: MERGE INTO t1 USING t2 ON (join predicate)….. What does the MERGE syntax do?()A、It performs a merge join of the row from T2 only if it doesn’t exist in the T1 table. B、It creates a natural join of tables T1 and T2 for all columns that have the same name. C、It creates a Cartesian product of table T1 and table T2 for all columns that have the same name. D、For each row from T2, it updates the row if it exists within table T1, otherwise it inserts the row into T1.
考题
单选题下面哪个调度是串行调度()。A
T1:RA.,T2:RB.,T2:WB.,T1:WA.B
B.T1:RB.,T1:WB.,T2:R,T2:WA.C
C.T1:R,T2:RB.,.T1:WA.,T2:WB.D
D.T2:R,T1:RB.,.T1:WA.,T2:WB.
考题
单选题Given that tables T1 and T2 contain the following rows: Table T1: C1 C2 1 4 1 3 1 2 Table T2: C1 C2 1 1 1 2 1 3 Which of the following queries will return only those rows that exist in both T1 and T2?()A
SELECT * FROM t1 UNION SELECT * FROM t2B
SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2C
SELECT * FROM t1 INTERSECT SELECT * FROM t2D
SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)
考题
单选题在下列模板说明中,正确的是()A
template〈typename T1,T2〉B
template〈class T1,T2〉C
template〈typename T1,typename T2〉D
template(typedef T1,typedef T2)
考题
单选题存在两个结构相同的数据库表T1(col1,col2,col3)、T2(col1,col2,col3),写出一SQL语句将所有T1数据导入到T2表()A
select col1,col2,col3 from T1 into T2(col1,col2,col3)B
insert T1 (col1,col,col3) into T2(col1,col2,col3)C
insert into T2 (col1,col2,col3) as select col1,col2,col3 from T1D
insert into T2(col1,col2,col3) select col1,col2,col3 from T1;
考题
单选题Given that tables T1 and T2 contain the following rows: Table T1: C1 C2 5 4 5 2 5 5 Table T2: C1 C2 5 1 5 2 5 3 Which of the following queries will return only those rows that exist in T1 and not in T2?()A
SELECT * FROM T1 MINUS SELECT * FROM T2B
SELECT * FROM T1 EXCEPT SELECT * FROM T2C
SELECT * FROM T2 UNION EXCEPT SELECT * FROM T1D
SELECT * FROM T1 NOT EXISTS SELECT * FROM T2
考题
单选题有如下模板声明:template class A;下列声明中,与上述声明不等价的是( )。A
templateclass T1,class T2 class A;B
templateclass T1,typename T2 class A;C
templatetypename T1,class T2 class A;D
templatetypename T1,T2 class A;
考题
单选题Given that tables T1 and T2 contain the following rows: Table T1: C1 C2 1 4 1 3 1 2 Table T2: C1 C2 1 1 1 2 1 3 Which of the following queries will return only those rows that exist in both T1 and T2?()A
SELECT * FROM t1 UNION SELECT * FROM t2B
SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2C
SELECT * FROM t1 INTERSECT SELECT * FROM t2D
SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)
热门标签
最新试卷