OCP-1Z0-051 補充題庫 第6題 SELECT查詢語句
SELECT cust_city, AVG(cust_credit_limit)
FROM customers
WHERE cust_city IN ('WASHINGTON', 'NEW YORK')
GROUP BY cust_credit_limit, cust_city;
B.
SELECT cust_city, AVG(cust_credit_limit)
FROM customers
WHERE cust_city IN ('WASHINGTON', 'NEW YORK')
GROUP BY cust_city, cust_credit_limit;
C.
SELECT cust_city, AVG(cust_credit_limit)
FROM customers
WHERE cust_city IN ('WASHINGTON', 'NEW YORK')
GROUP BY cust_city;
D.
SELECT cust_city, AVG(NVL(cust_credit_limit, 0))
FROM customers
WHERE cust_city IN ('WASHINGTON', 'NEW YORK');
相關推薦
OCP-1Z0-051 補充題庫 第6題 SELECT查詢語句
A. SELECT cust_city, AVG(cust_credit_limit) FROM customers WHERE cust_city IN ('WASHINGTON', 'NEW YORK') GROUP BY cust_credit_limit, cust_city; B. SELE
OCP-1Z0-051 補充題庫 第5題 主查詢和子查詢的注意事項
Which three statements are true regarding sub queries? (Choose three.)A. Multiple columns or expressions can be compared between the main query and sub que
OCP-1Z0-051 補充題庫 第10題 集合操作中的ORDER BY子句
Evaluate the following SQL statement: Which statement is true regarding the outcome of the above query?A. It produces an error because the ORDER BY clause
OCP-1Z0-051 補充題庫 第26題 單行函式特點
Which two statements are true regarding single row functions? (Choose two.) A. They can be nested only to two levelsB. They always return a single result r
OCP-1Z0-051 補充題庫 第1題 TRUNCATE命令的使用
Evaluate the SQL statement:TRUNCATE TABLE DEPT;Which three are true about the SQL statement? (Choose three.)A. It releases the storage space used by the ta
OCP-1Z0-051 補充題庫 第43題 子查詢
Evaluate the following query: What would be the outcome of executing the above SQL statement? A. It produces an errorB. It shows the names of products
OCP-1Z0-051 補充題庫 第37題
See the exhibit and examine the structure of the CUSTOMERS and GRADES tables: You need to display names and grades of customers who have the highest credit
OCP-1Z0-051 補充題庫 第45題 CREATE VIEW
You want to create a SALE_PROD view by executing the following SQL statements: CREATE VIEW sale_prod AS SELECT p.prod_id, cust_id, SUM(quantity_sol
OCP-1Z0-051 補充題庫 第23題 表連線中別名的使用
FIRST_NAME DEPARTMENT_NAME ---------------------------------------- ---------------- Shelley
OCP-1Z0-051 補充題庫 第24題 SYNONYM同義詞
Examine the statement: Create synonym emp for hr.employees; What happens when you issue the statement? A. An error is generated. B. You will have two ident
OCP-1Z0-051 補充題庫 第27題 UNION的注意事項
Which statement is true regarding the UNION operator? A. The number of columns selected in all SELECT statements need to be the same B. Names of all column
OCP-1Z0-051 補充題庫 第18題 DELETE語句的特性
Evaluate the following SQL statements: DELETE FROM sales; There are no other uncommitted transactions on the SALES table. Which statement is true about the
OCP-1Z0-051 補充題庫 第11題 SQL和SQL*Plus的區別
Which statement correctly describes SQL and /SQL*Plus? A. Both SQL and /SQL*plus allow manipulation of values in the database. B. /SQL*Plus recognizes SQL
OCP-1Z0-051 補充題庫 第44題 NATURAL JOIN自然連線
You issue the following query: SQL>SELECT p.prod_id,prod_name,prod_list_price, quantity_sold,cust_last_name FROM products p NATURAL JOIN sales
OCP-1Z0-051 補充題庫 第22題 SYNONYM同義詞
The ORDERS TABLE belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR. Which statement would create a synonym ORD
OCP-1Z0-051 補充題庫 第29題 INSERT語句中有子查詢
View the Exhibit and examine the structure of the CUSTOMERS table. NEW_CUSTOMERS is a new table with the columns CUST_ID, CUST_NAME and CUST_CITY that have
Python每日一題:第6題:如何設計一個程式碼統計工具
這是Python之禪和他朋友們在知識星球的第6題:如何設計一個程式碼統計工具 問題 設計一個程式,用於統計一個專案中的程式碼行數,包括檔案個數,程式碼行數,註釋行數,空行行數。儘量設計靈活一點可以通過輸入不同引數來統計不同語言的專案,例如: # type用於指定檔案型別 python cou
LeetCode題庫第七題(簡單系列)
題目及要求:給定一個 32 位有符號整數,將整數中的數字進行反轉。示例 1:輸入: 123 輸出: 321 示例 2:輸入: -123 輸出: -321 示例 3:輸入: 120 輸出: 21 注意:假設我們的環境只能儲存 32 位有符號整數,其數值範圍是 [−231,
LeetCode題庫第十三題(簡單系列)
題目及要求羅馬數字包含以下七種字元:I, V, X, L,C,D 和 M。字元 數值 I 1 V 5 X 10 L 50 C 100 D
OCP-1Z0-051-題目解析-第6題
6. Examine the structure of the SHIPMENTS table: name Null Type PO_ID NOT NULL NUMBER(3)