

| Features: |
FROM clause : table alias inner join joined-table component PROC SQL statement option : NUMBER WHERE clause : IN condition |
| Table names: | PROCLIB.STAFF |
proc sql outobs=10; title 'PROCLIB.STAFF'; title2 'First 10 Rows Only'; select * from proclib.staff; title;
libname proclib 'SAS-library';
proc sql number;
title 'Information for Certain Employees Only';
/* Select the columns to display. The SELECT clause selects the columns to
show in the output. */
select Lname, Fname, City, State,
IdNumber, Salary, Jobcode
from proclib.staff, proclib.payroll
where idnumber=idnum and idnum in
('1919', '1400', '1350', '1333');/* Select the columns to display. The SELECT clause selects the columns to
show in the output. */
select Lname, Fname, City, State,
IdNumber, Salary, Jobcode