单选题View the Exhibit and examine the structure of the ORDERS table. Which task would require subqueries?  ()A  displaying the total order value for sales representatives 161 and 163B  displaying the order total for sales representative 161 in the year 19

题目
单选题
View the Exhibit and examine the structure of the ORDERS table. Which task would require subqueries?  ()
A

 displaying the total order value for sales representatives 161 and 163

B

 displaying the order total for sales representative 161 in the year 1999

C

 displaying the number of orders that have order mode online and order date in 1999

D

 displaying the number of orders whose order total is more than the average order total for all online orders

参考答案和解析
正确答案: C
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Examine the data from the ORDERS and CUSTOMERS table.Which SQL statement retrieves the order ID, customer ID, and order total for the orders that are placed on the same day that Martin places his orders?()

A.

B.

C.

D.


参考答案:B

第2题:

The sales report needs to display the sales person with the highest order total. Which build report builder component would you use to create a place holder column to display the value?()

  • A、Report wizard. 
  • B、Layout model. 
  • C、Data model. 
  • D、Life previewer.

正确答案:C

第3题:

The ORDERS table has these columns:ORDER_ID NUMBER(4) NOT NULLCUSTOMER_ID NUMBER(12) NOT NULLORDER_TOTAL NUMBER(10,2)The ORDERS table tracks the Order number, the order total, and the customer to whom the Order belongs.Which two statements retrieve orders with an inclusive total that ranges between 100.00 and 2000.00 dollars? ()

A. SELECT customer_id, order_id, order_total FROM orders RANGE ON order _ total (100 AND 2000) INCLUSIVE;

B. SELECT customer_id, order_id, order_total FROM orders HAVING order _ total BETWEEN 100 and 2000;

C. SELECT customer_id, order_id, order_total FROM orders WHERE order _ total BETWEEN 100 and 2000;

D. SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and <= 2000;

E. SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and order_total <= 2000;


参考答案:C, E

第4题:

The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table.   Which multitable INSERT statement would you use? ()

  • A、 Pivoting INSERT
  • B、 Unconditional INSERT
  • C、 Conditional ALL INSERT
  • D、 Conditional FIRST INSERT

正确答案:C

第5题:

tommy has created a sales view in his sales.nsf database. Tommy wants negative numbers in the sales number column in the view parenthesis. which one of the following should tommy do?()

  • A、select the parenthesis when negative value in the view properties box 
  • B、select the parenthesis when negative value in the column properties box 
  • C、use the @function @negative to set this in the column formula in the view 
  • D、use a formula to format the value in the field on the form that will be displaying in the view

正确答案:B

第6题:

Click the Exhibit button and examine the data from the EMP table.The COMMISSION column shows the monthly commission earned by the employee.Which two tasks would require subqueries or joins in order to be performed in a single step? ()

A.listing the employees who earn the same amount of commission as employee 3

B.finding the total commission earned by the employees in department 10

C.finding the number of employees who earn a commission that is higher than the average commission of the company

D.listing the departments whose average commission is more than 600

E.listing the employees who do not earn commission and who are working for department 20 in descending order of the employee ID

F.listing the employees whose annual commission is more than 6000


参考答案:A, C

第7题:

The total CIP value of your order comes()$960 instead of $690,the difference()$270.

  • A、to,be
  • B、at,being
  • C、to,being
  • D、at,tobe

正确答案:C

第8题:

Examine the SQL statements that creates ORDERS table:For which columns would an index be automatically created when you execute the above SQL statement? ()

A. SER_NO

B. ORDER_ID

C. STATUS

D. PROD_ID

E. ORD_TOTAL

F. Composite index on ORDER_ID and ORDER_DATE


参考答案:A, F

第9题:

Examine the SQL statement that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL, STATUS VARCHAR2(10) CHECK (status IN ('CREDIT', 'CASH')), PROD_ID NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order_id, order_date)); For which columns would an index be automatically created when you execute the above SQL statement? ()

  • A、SER_NO
  • B、ORDER_ID
  • C、STATUS
  • D、PROD_ID
  • E、ORD_TOTAL
  • F、composite index on ORDER_ID and ORDER_DATE

正确答案:A,F

第10题:

Examine the SQL statements that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL STATUS VARCHARD2(10) CHECK (status IN ('CREDIT','CASH')), PROD_ID_NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order id, order date)); For which columns would an index be automatically created when you execute the aboveSQL statement? ()

  • A、SER_NO
  • B、ORDER_ID
  • C、STATUS
  • D、PROD_ID
  • E、ORD_TOTAL
  • F、Composite index on ORDER_ID and ORDER_DATE

正确答案:A,F

更多相关问题