Question 211 · 238 in bank
Examine the description of the EMPLOYEES table:
Which statement will execute successfully, returning distinct employees with non-null first names?
Show answer
Answer: C
Oracle Database SQL238 questions across 24 pages are complete and free, with no account or card.
238 questions in this bank
Free access · progress saved on this device
Examine the description of the EMPLOYEES table:
Which statement will execute successfully, returning distinct employees with non-null first names?
Answer: C
Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY. Only the EMPLOYEE_ID column is indexed. Rows exist for employees 100 and 200. Examine this statement:
Which two statements are true? (Choose two.)
Answer: BE
Examine these two queries and their output: SELECT deptno, dname FROM dept;
SELECT emame, job, deptno FROM emp ORDER BY deptno;

Now examine this query:
How many rows will be displayed?
Answer: B
B is correct answer From first table it will take 2 records, from second table it will take 3 records. After cross join we will have 6 records (2x3).
Source: Adapted from community discussion — Artur1991
You want to return the current date and time from the user session, with a data type of TIMESTAMP WITH TIME ZONE. Which function will do this?
Answer: B
Reference: https://docs.oracle.com/cd/E11882_01/server.112/e10729/ch4datetime.htm#NLSPG004
You have been tasked 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?
Answer: C
Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
Answer: AE
c is incorrect ->The set operators are not valid on columns of type BLOB, CLOB, BFILE, VARRAY, or nested table. i think D E are correct The UNION, INTERSECT, and MINUS operators are not valid on LONG columns. https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/The-UNION-ALL-INTERSECT-MINUS-Operators.html#GUID-B64FE747-586E-4513-945F-80CB197125EE
Source: Adapted from community discussion — Viviana3184
Examine this SQL statement:
Which two are true? (Choose two.)
Answer: AD
DE A. All existing rows in the ORDERS table are updated. False. Only the rows that match from both tables B. The subquery is executed before the UPDATE statement is executed. False C. The subquery is not a correlated subquery. This is a correlated subquery- it will fetch records from outer query first, then run subquery related to that outer query record and then perform action. So it will work for more then one record. D. The subquery is executed for every updated row in the ORDERS table. True E. The UPDATE statement executes successfully even if the subquery selects multiple rows. True
Source: Adapted from community discussion — holdfaststrongly
Which two are true about queries using set operators such as UNION? (Choose two.)
Answer: DE
According to: https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries004.htm "If both queries select values of datatype CHAR of equal length, then the returned values have datatype CHAR of that length. If the queries select values of CHAR with different lengths, then the returned value is VARCHAR2 with the length of the larger CHAR value." AND "In queries using set operators, Oracle does not perform implicit conversion across datatype groups. " So DE.
Source: Adapted from community discussion — anzac
Examine this business rule: Each student can work on multiple projects and each project can have multiple students. You must design an Entity Relationship (ER) model for optimal data storage and allow for generating reports in this format: STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK Which two statements are true? (Choose two.)
Answer: CD
Which three are key components of an Entity Relationship Model? (Choose three.)
Answer: CDF
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
1Z0-071 practice, question 211. 238 questions available.
Version 1.0.0. How we source questions