Some SQL statements can have a SELECT embedded within them. A subselect can be used in WHERE and HAVING clauses of an outer SELECT, where it is called a subquery or nested query. Subselects may also appear in INSERT, UPDATE, and DELETE statements.
SELECT staffNo, fName, lName, position
WHERE branchNo =
WHERE street = .163 Main St.);