Differentiate between a subquery and a join
If we need to acquire information from one or more tables after that either subquery or join can be used. If the columns which are to appear in the result table are from different tables after that a join must be employed.