最新的Oracle Database SQL - 1z0-071免費考試真題

View the Exhibit and examine the structure of the CUSTOMERStable.

CUSTOMER_VUis a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERStable.
CUSTOMERSneed to be updated to reflect the latest information about the customers.
What is the error in the following MERGEstatement?

正確答案: B
Which three privileges can be restricted to a subset of columns in a table? (Choose three.)

正確答案: A,B,F
View the Exhibit and examine the structure of the ORDERStable.

Which UPDATE statement is valid?

正確答案: C
Examine the structure and data in the PRICE_LIST table:
name Null Type
------ --------- -------
PROD_ID NOT NULL NUMBER(3)
PROD_PRICE VARCHAR2(10)
PROD_ID PROD_PRICE
---------- ------------
100 $234.55
101 $6,509.75
102 $1,234
You plan to give a discount of 25% on the product price and need to display the discount amount in the same format as the PROD_PRICE.
Which SQL statement would give the required result?

正確答案: C
說明:(僅 Fast2test 成員可見)
Which normal form is a table in if it has no multi-valued attributes and no partial dependencies?

正確答案: D
Using the CUSTOMERS table, you need to generate a report that shows 50% of each credit amount in each income level. The report should NOT show any repeated credit amounts in each income level.
Which query would give the required result?

正確答案: D
Which two are true about granting privileges on objects? (Choose two.)

正確答案: A,B
說明:(僅 Fast2test 成員可見)
Which three are true about privileges? (Choose three.)

正確答案: A,B,C
說明:(僅 Fast2test 成員可見)
View the Exhibit and examine the structure of the PRODUCT_INFORMATION table. (Choose the best answer.)

PRODUCT_ID column is the primary key.
You create an index using this command:
SQL > CREATE INDEX upper_name_idx
ON product_information(UPPER(product_name));
No other indexes exist on the PRODUCT_INFORMATION table.
Which query would use the UPPER_NAME_IDX index?

正確答案: A
Which two statements are true about single-row functions? (Choose two.)

正確答案: A,E
說明:(僅 Fast2test 成員可見)
Examine the create table statements for the stores and sales tables.
SQL> CREATE TABLE stores(store_id NUMBER(4) CONSTRAINT store_id_pk
PRIMARY KEY, store_name VARCHAR2(12), store_address VARCHAR2(20),
start_date DATE);
SQL> CREATE TABLE sales(sales_id NUMBER(4) CONSTRAINT sales_id_pk
PRIMARY KEY, item_id NUMBER(4), quantity NUMBER(10), sales_date DATE,
store_id NUMBER(4), CONSTRAINT store_id_fk FOREIGN KEY(store_id)
REFERENCES stores(store_id));
You executed the following statement:
SQL> DELETE from stores
WHERE store_id=900;
The statement fails due to the integrity constraint error:
ORA-02292: integrity constraint (HR.STORE_ID_FK) violated
Which three options ensure that the statement will execute successfully?

正確答案: A,C,E
Which three statements are true regarding the data types?

正確答案: A,B,D
Which statements are true? (Choose all that apply.)

正確答案: A,C,D
Examine the description of the EMPLOYEES table:

Which two queries will result in an error? (Choose two.)

正確答案: A,B
View the Exhibit and examine the data in the EMPLOYEES table.
Exhibit

You want to generate a report showing the total compensation paid to each employee to date.
You issue the following query:

What is the outcome?

正確答案: B

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어