16.20 - Example: Searching for Atlanta Employees - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

The following statement searches for the names of all employees who work in Atlanta.

   SELECT Name 
   FROM Employee 
   WHERE DeptNo IN
    (SELECT DeptNo 
     FROM Department 
     WHERE Loc = 'ATL');