Question 21 · 238 in bank
Select 2Which is true about the & and && prefixes with substitution variables? (Choose all that apply.)
Show answer
Answer: AB
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
Which is true about the & and && prefixes with substitution variables? (Choose all that apply.)
Answer: AB
Examine this query:
Which two methods should you use to prevent prompting for a hire date value when this query is executed? (Choose two.)
Answer: AF
B. By replacing '&1' with '&&1' in the query, it creates a double-ampersand substitution variable which will remember the value of the variable throughout the session and will not prompt for a value every time it is used. F. By storing the query in a script and passing the substitution value to the script when executing it, you can provide a value for the variable before the query is executed. This prevents the query from prompting for a value when it is executed.
Source: Adapted from community discussion — tangerine141
Which two queries execute successfully? (Choose two.)
Answer: AB
Examine these statements which execute successfully:
Examine the result:
If LOCALTIMESTAMP was selected at the same time, what would it return?
Answer: C
Examine these statements which execute successfully:
Which two are true? (Choose two.)
Answer: DE
A, D A. User FIN_CLERK can grant SELECT on SCOTT.EMP to user FIN_MANAGER - This is true because user FINANCE has been granted SELECT privilege on SCOTT.EMP with the GRANT OPTION, and user FINANCE subsequently granted SELECT on SCOTT.EMP to user FIN_CLERK. The GRANT OPTION allows the privilege to be further granted to other users. D. Revoking SELECT on SCOTT.EMP from user FINANCE will also revoke the privilege from user FIN_CLERK - This is true because when a privilege is revoked from a user who was granted the privilege with the GRANT OPTION, and who subsequently granted that privilege to other users, then the privilege is also revoked from the other users.
Source: Adapted from community discussion — mayman
Which two are true about granting privileges on objects? (Choose two.)
Answer: BE
Examine the description of the EMPLOYEES table:
Which two queries will execute successfully? (Choose two.)
Answer: BE
I think answer B is the only correct answer because In SQL, a group function operates on a set of rows and returns a single value for each group. Group functions include AVG, COUNT, MAX, MIN, and SUM. These functions cannot be nested within one another. For example, in query A, the AVG function is nested within the MAX function which is not allowed. Similarly, in query C, D and E, the MAX function is nested within the AVG function which is also not allowed. What do you think?
Source: Adapted from community discussion — CyberP
Which two statements are true about the rules of precedence for operators? (Choose two.)
Answer: CE
Examine this query which executes successfully:
What will be the result?
Answer: A
You need to allow user ANDREW to: 1. Modify the TITLE and ADDRESS columns of your CUSTOMERS table. 2. GRANT that permission to other users. Which statement will do this?
Answer: C
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
1Z0-071 practice, question 21. 238 questions available.
Version 1.0.0. How we source questions