Oracle SQL supports subqueries in a SELECT statement’s FROM clause as inline views and in its WHERE clause for conditions. Scalar subqueries are expressions, so they can supply values in an UPDATE SET clause and an INSERT VALUES clause. The INTO clause names the INSERT target, while GROUP BY does not accept a subquery as a grouping item.
Community Discussion