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

Examine these statements:
CREATE TABLE dept (
deptno NUMBER PRIMARY KEY,
diname VARCHAR2(10) ,
mgr NUMBER ,
CONSTRAINT dept_fkey FOREIGN KEY(mgr) REFERENCES emp (empno));
CREATE TABLE emp (
Empno NUMBER PRIMARY KEY,
Ename VARCHAR2 (10) ,
deptno NUMBER,
CONSTRAINT emp_fkey FOREIGN KEY (deptno) REFERENCES dept (deptno) DISABLE); ALTER TABLE emp MODIFY CONSTRAINT emp_fkey ENABLE; Which two are true?

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

Which two 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 メンバーにのみ表示されます)
Which three are true about multiple INSERT statements?

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

解説: (GoShiken メンバーにのみ表示されます)
Examine this partial statement:
SELECT ename, sal,comm FROM emp
Now examine this output:

WHICH ORDER BY clause will generate the displayed output?

解説: (GoShiken メンバーにのみ表示されます)
Which three are true about dropping columns from a table?

正解:A,C,F 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Which three statements are true about single-row functions?

正解:A,B,F 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
You execute this query:
SELECT TO CHAR (NEXT_DAY(LAST_DAY(SYSDATE),'MON' ),' dd"Monday for" fmMonth rrr') FROM DUAL; What is the result?

解説: (GoShiken メンバーにのみ表示されます)
Examine this statement:
SELECT last name
FROM employees
ORDER BY CASE WHEN salary = (SELECT MAX(salary) FROM employees)
THEN 'A'
ELSE last_ name
END ,last_name DESC;
Which two statements are true?

解説: (GoShiken メンバーにのみ表示されます)
In the PROMOTIONS table, the PROMO_BEGTN_DATE column is of data type DATE and the default date format is DD-MON-RR.
Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a query?

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

Which three queries use valid expressions?

正解:A,D,E 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Which two tasks require subqueries?

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

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

解説: (GoShiken メンバーにのみ表示されます)
Which two queries return the string Hello! we're ready?

解説: (GoShiken メンバーにのみ表示されます)
You execute this command:
TRUNCATE TABLE depts;
Which two are true?

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