Selects specific rows (observations) in a data loop based on a logical expression.
select age > 40 AND sex $== 'MALE';
Selects only those rows for which logical_expression is
variables referenced must already exist, either as elements of the
source dataset, as
extern’s, or as the result of a previous
vector, or code statement.