QuestionQ119Verified/Using Subqueries to Solve QueriesCopy linkReport a problemAsk AstroTutorSave questionWhich three of the following statements are true about single-row subqueries?Choose threeAThey must be placed on the left side of the comparison operator or condition.BThey must be placed on the right side of the comparison operator or condition.CThey must return a row to prevent errors in the SQL statement.DA SQL statement may have multiple single row subquery blocks.EThey can be used in the HAVING clause.FThey can be used in the WHERE clause.Show AnswerAnswerExplanationOracle single-row subqueries must return at most one row; a zero-row result is permitted, whereas multiple rows cause ORA-01427. A SQL statement can contain multiple single-row subquery blocks, and subqueries may provide values for conditions in both WHERE and HAVING clauses.Learn moreOracle Database SQL Language Reference — Using SubqueriesOracle Database SQL Language Reference — Unnesting of Nested SubqueriesShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion