1--> SCALAR
2--> MULTI ROW MULTI COLUMN
3--> CORRELATED
scalar subquery will return only 1row 1 col
this subquery will return more than 1 row and 1 col,means multiple row with multi column can be returnd
in (where) we can use "in()" for matching sub query with multiple row and col.
it is a type of sub qurey which is related to its outer query
the subquery will depend on outer query and the outer query will return the whole record and inner query will match name with evrey record from the same department.