December 2014
Intermediate to advanced
858 pages
40h 10m
English
|
General form, basic
PROC SQL step to perform a query:
PROC SQL;
SELECT column-1<,...column-n>
FROM table-1|view-1<,...table-n|view-n>
<WHERE expression>
<GROUP
BY column-1<,
... column-n>>
<ORDER
BY column-1<,...
column-n>>;
PROC SQL
invokes the SQL procedure
SELECT
specifies the column(s)
to be selected
FROM
specifies the table(s)
to be queried
WHERE
subsets the data
based on one or more conditions
GROUP BY
classifies the data
into groups based on the specified column(s)
ORDER BY
sorts the rows ... |
Read now
Unlock full access