QuestionQ223Verified/Using Subqueries to Solve QueriesCopy linkReport a problemAsk AstroTutorSave questionWhich three statements are true regarding scalar subquery expressions?Choose threeAThey can be nested.BThey cannot be used in the VALUES clause of an INSERT statement.CA scalar subquery expression that returns zero rows evaluates to zero.DThey can be used as default values for columns in a CREATE TABLE statement.EA scalar subquery expression that returns zero rows evaluates to NULL.FThey cannot be used in GROUP BY clauses.Show AnswerAnswerExplanationScalar subquery expressions may be nested and are valid in most contexts that accept an expression, including an INSERT statement’s VALUES clause. When the subquery returns zero rows, its value is NULL. Oracle Database does not allow scalar subquery expressions in GROUP BY clauses.Learn moreOracle Database SQL Language Reference: Scalar Subquery ExpressionsOracle Database SQL Language Reference: SELECTShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion