QuestionQ137Verified/Using Subqueries to Solve QueriesCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true regarding scalar subquery expressions?Choose twoAThey can return at most one row.BYou must enclose them in parentheses.CYou cannot correlate them with a table in the parent statement.DThey can return two columns.EYou can use them as a default value for a column.Show AnswerAnswerExplanationA scalar subquery expression produces one column value from at most one row; a result of more than one row causes an error. Oracle requires a scalar subquery expression to be enclosed in its own parentheses. Scalar subqueries can be correlated and cannot be used as column default values.Learn moreOracle Database SQL Language Reference — Scalar Subquery ExpressionsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion