exam questions

Exam 1z0-082 All Questions

View all questions & answers for the 1z0-082 exam

Exam 1z0-082 topic 1 question 132 discussion

Actual exam question from Oracle's 1z0-082
Question #: 132
Topic #: 1
[All 1z0-082 Questions]

Which three statements are true regarding single row subqueries? (Choose three.)

  • A. A SQL statement may have multiple single row subquery blocks.
  • B. They can be used in the WHERE clause.
  • C. They must be placed on the left side of the comparison operator or condition.
  • D. They can be used in the HAVING clause.
  • E. They must be placed on the right side of the comparison operator or condition.
  • F. They must return a row to prevent errors in the SQL statement.
Show Suggested Answer Hide Answer
Suggested Answer: ABD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rafafm
3 months ago
answer - B D E
upvoted 1 times
Rafafm
2 months, 3 weeks ago
select deptno, avg(sal) from emp group by deptno having avg(sal) > (select avg(sal) from emp where deptno=30);
upvoted 1 times
...
...
Rafafm
4 months ago
answer - B D E B - D = Where and HAVING can be used in the subquery E - True = Subquery are placed on the right side
upvoted 1 times
...
auwia
1 year, 6 months ago
Selected Answer: ABD
Provided answer are corrects.
upvoted 2 times
...
Darkseid1231
1 year, 6 months ago
I will go for A B F
upvoted 1 times
...
nautil2
1 year, 7 months ago
Selected Answer: ABD
ABD seems to be correct. A,B: TRUE SELECT column1, (SELECT MAX(column2) FROM table1) AS max_value, (SELECT COUNT(*) FROM table2) AS row_count FROM table3 WHERE column4 = (SELECT MIN(column4) FROM table4); C: FALSE - column name is placed on the left side of the condition/operator, while subquery is placed on the right side of it. D: TRUE SELECT deptno, MIN(sal) FROM emp GROUP BY deptno HAVING MIN(sal) > ( SELECT MIN(sal) FROM emp WHERE deptno = 30); E: FALSE, a subquery does not need to be surrounded by a condition or operator, see example for A+B answer F: FALSE, single-row subquery can return no row without raising an error SELECT ename, init, bdate FROM employees WHERE bdate > (SELECT bdate FROM employees WHERE empno = 99999);
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago