DataBase
Subqueries: Databases for Developers Prerequisite SQL #Oracle
Usually you will correlate a scalar subquery with a parent table to give the correct answer.
You can also use scalar subqueries in your having clause. So instead of a join, you could write the query in part 1 to find those bricks you have less than the minimum needed like so
#Oracle
#Scalar_Subqueries_4
You can also use scalar subqueries in your having clause. So instead of a join, you could write the query in part 1 to find those bricks you have less than the minimum needed like so
#Oracle
#Scalar_Subqueries_4