1z0-071試験無料問題集「Oracle Database SQL 認定」

The ORDERS table has a primary key constraint on the ORDER_ID column.
The ORDER_ITEMS table has a foreign key constraint on the ORDER_ID column, referencing the primary key of the ORDERS table.
The constraint is defined with on DELETE CASCADE.
There are rows in the ORDERS table with an ORDER_TOTAL less than 1000.
Which three DELETE statements execute successfully?

正解:B,C,E 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You execute this command:
TRUNCATE TABLE dept;
Which two are true?

解説: (GoShiken メンバーにのみ表示されます)
Which two statements are true about outer Joins?

解説: (GoShiken メンバーにのみ表示されます)
Examine the description of the SALES1 table:

SALES2 is a table with the same description as SALES1,
Some sales data is duplicated In both tables.
You want to display the rows from the SALES1 table which are not present in the SALIES2 table.
Which set operator generates the required output?

The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2).
Evaluate this SQL statement:
SELECT TO_CHAR(unit_price,'$9,999') FROM PRODUCT_INFORMATION;
Which two statements are true about the output?

解説: (GoShiken メンバーにのみ表示されます)
Which three statements are true about a self join?

正解:B,E,F 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Which two are true about unused columns?

解説: (GoShiken メンバーにのみ表示されます)
Examine these statements:
CREATE TABLE alter_test (c1 VARCHAR2(10), c2 NUMBER(10));
INSERT INTO alter_test VALUES ('123', 123);
COMMIT;
Which is true ahout modifyIng the columns in AITER_TEST?

解説: (GoShiken メンバーにのみ表示されます)
Examine this statement,which executes successfully:
In which order are the rows displayed?

解説: (GoShiken メンバーにのみ表示されます)
Examine the description of the BOOKS_TRANSACTIONS table:

Examine this partial SQL statement:
SELECT * FROM books_transactions
Which two WHERE conditions give the same result?

解説: (GoShiken メンバーにのみ表示されます)
Examine this statement:
CREATE TABTE orders
(sarial_no NUMBER UNIQUE,
order_id NUMBER PRIMARY KEY ,
order_date DATE NOT NULL,
status VARCHAR2 (10) CHECK (status IN ('CREDIT', 'CASH')),
product_id NUMBER REFERENCES products (product_id),
order_ total NUMBER);
On which two columns of the table will an index be created automatically?

解説: (GoShiken メンバーにのみ表示されます)
Which three statements are true about the Oracle join and ANSI Join syntax?

正解:A,B,C 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Examine this query which executes successfully;
Select job,deptno from emp
Union all
Select job,deptno from jobs_history;
What will be the result?

解説: (GoShiken メンバーにのみ表示されます)
Which statement is true about TRUNCATE and DELETE?

解説: (GoShiken メンバーにのみ表示されます)
Examine these statements executed in a single Oracle session:
CREATE TABLE product (pcode NUMBER(2),pname VARCHAR2(20));
INSERT INTO product VALUES(1,'pen');
INSERT INTO product VALUES (2,'pencil');
INSERT INTO product VALUES(3,'fountain pen');
SAVEPOINT a;
UPDATE product SET pcode=10 WHERE pcode =1;
COMMIT;
DELETE FROM product WHERE pcode =2;
SAVEPOINT b;
UPDATE product SET pcode=30 WHERE pcode =3;
SAVEPOINT c;
DELETE FROM product WHERE pcode =10;
ROLLBACK TO SAVEPOINT b;
COMMIT;
Which three statements are true?

正解:A,D,E 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
An Oracle database server session has an uncommitted transaction in progress which updated 5000 rows in a table.
In which three situations does the transact ion complete thereby committing the updates?

正解:B,E,F 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Which statement is true about the INTERSECT operator used in compound queries?

解説: (GoShiken メンバーにのみ表示されます)
Which two statements are true about the data dictionary?

解説: (GoShiken メンバーにのみ表示されます)
Examine this business rule:
Each student can work on multiple projects and earth project can have multiple students.
You must decide an Entity Relationship (ER) model for optional data storage and allow generating reports in this format:
STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK Which two statements are true?

解説: (GoShiken メンバーにのみ表示されます)
You have been asked to create a table for a banking application.
One of the columns must meet three requirements:
1: Be stored in a format supporting date arithmetic without using conversion functions
2: Store a loan period of up to 10 years
3: Be used for calculating interest for the number of days the loan remains unpaid Which data type should you use?

解説: (GoShiken メンバーにのみ表示されます)