A
query enables you to extract data from one or more tables according to criteria that you
specify. You can create a query that is based on only one table, or you can join
tables together. When you create a query, SAS Studio generates Structured Query Language
(SQL) code, which you can view. You can create
queries in both the SAS Programmer and the Visual Programmer perspectives.