1z1-061 無料問題集「Oracle Database 12c: SQL Fundamentals」
See the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS and ITEMS tables:
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_196.jpg)
The PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS table.
Similarly, the CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and TIMES tables, respectively.
Evaluate the following the CREATE TABLE command:
Exhibit:
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_197.jpg)
Which statement is true regarding the above command?
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_196.jpg)
The PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS table.
Similarly, the CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and TIMES tables, respectively.
Evaluate the following the CREATE TABLE command:
Exhibit:
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_197.jpg)
Which statement is true regarding the above command?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Examine the structure and data in the PRIC E_LIST table: Name Null? Type
------------ ------------- -------------------
PROD_D NOT NULL NUMBER(3)
PROD_PRICE VARCHAR2(10)
PROD_ID PROD PRICE
----------- ------------------------
100 $234.55
101 $6, 509.75
102 $1, 234
in the same format as the PROD_PRICE. Which SQL statement would give the required result?
------------ ------------- -------------------
PROD_D NOT NULL NUMBER(3)
PROD_PRICE VARCHAR2(10)
PROD_ID PROD PRICE
----------- ------------------------
100 $234.55
101 $6, 509.75
102 $1, 234
in the same format as the PROD_PRICE. Which SQL statement would give the required result?
正解:C
解答を投票する
View the Exhibit and examine the structure of the PRODUCTS table.
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_297.jpg)
You need to generate a report in the following format:
CATEGORIES
---------------------------------------------
5MP Digital Photo Camera's category is Photo
Y Box's category is Electronics
Envoy Ambassador's category is Hardware
Which two queries would give the required output? (Choose two.)
![](https://www.jpntest.com/uploads/imgs/1z0-061 V13.25/img_297.jpg)
You need to generate a report in the following format:
CATEGORIES
---------------------------------------------
5MP Digital Photo Camera's category is Photo
Y Box's category is Electronics
Envoy Ambassador's category is Hardware
Which two queries would give the required output? (Choose two.)
正解:B、C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)