Nested Subquery
Query inside an query is called as an subquery. You can place a subquery in a WHERE clause, a HAVING clause, or a FROM clause of a SELECT statement.
A correlated subquery is a subquery that uses values from the outer query, requiring the inner query to execute once for each outer query
SQL Nested subquery - w3resource
SQL : Single Row Subqueries - w3resource