多项选择题
You need to generate a list of all customer last names with their credit limits from the CUSTOMERS table. Those customers who do not have a credit limit should appear last in the list. Which two queries would achieve the required result?()
A.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit DESC
B.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit
C.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit NULLS LAST
D.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_last_name, cust_credit_limit NULLSLAST
相关考题
-
多项选择题
Wherecansubqueriesbeused?()
A.field names in the SELECT statement
B.the FROM clause in the SELECT statement
C.the HAVING clause in the SELECT statement
D.the GROUP BY clause in the SELECT statement
E.the WHERE clause in only the SELECT statement
F.the WHERE clause in SELECT as well as all DML statements -
多项选择题
WhichtwostatementsaretrueregardingtheUSINGandONclausesintablejoins?()
A.Both USING and ON clauses can be used for equijoins and nonequijoins
B.Amaximum of one pair of columns can be joined between two tables using the ON clause
C.The ON clause can be used to join tables on columns that have different names but compatible data types
D.The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause -
单项选择题
WhichstatementistrueregardingtheINTERSECToperator?()
A.It ignores NULL values
B.Reversing the order of the intersected tables alters the result
C.The names of columns in all SELECT statements must be identical
D.The number of columns and data types must be identical for all SELECT statements in the query
