题目
单项选择题
Question at position 19 The following code would include: SELECT Customer_T.CustomerID,CustomerName, OrderID FROM Customer_T RIGHT JOIN Order_T ON Customer_T.CustomerID = Order_T.CustomerID;all rows of the Order_T Table regardless of matches with the Customer_T Table.all rows of the Customer_T Table regardless of matches with the Order_T Table.only rows that don't match both Customer_T and Order_T Tables.only rows that match both Customer_T and Order_T Tables.
选项
A.all rows of the Order_T Table regardless of matches with the Customer_T Table.
B.all rows of the Customer_T Table regardless of matches with the Order_T Table.
C.only rows that don't match both Customer_T and Order_T Tables.
D.only rows that match both Customer_T and Order_T Tables.
查看解析
标准答案
Please login to view
思路分析
We begin by restating the question to focus on the SQL operation: a RIGHT JOIN is performed between Customer_T and Order_T on Customer_T.CustomerID = Order_T.CustomerID, and the question asks which rows this query would include.
Option 1: 'all rows of the Order_T Table regardless of matches with the Customer_T Table.' A RIGHT JOIN returns all rows from the right......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Two tables may be joined:
Question at position 51 We can calculate the cumulative sum for each date using the following SQL statement: SELECT t1.date, t1.precip AS 'daily precip', SUM(t2.precip) AS 'cum. precip' FROM rainfall AS t1 INNER JOIN rainfall AS t2 ON t2.date >= t1.date GROUP BY t1.date ORDER BY t1.date;TrueFalse
Question at position 57 We can calculate the cumulative sum for each date using the following SQL statement: SELECT t1.date, t1.precip AS 'daily precip', SUM(t2.precip) AS 'cum. precip' FROM rainfall AS t1 INNER JOIN rainfall AS t2 ON t2.date >= t1.date GROUP BY t1.date ORDER BY t1.date;TrueFalse
Question at position 57 We can calculate the cumulative sum for each date using the following SQL statement: SELECT t1.date, t1.precip AS 'daily precip', SUM(t2.precip) AS 'cum. precip' FROM rainfall AS t1 INNER JOIN rainfall AS t2 ON t2.date >= t1.date GROUP BY t1.date ORDER BY t1.date;TrueFalse
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!