As one example of select statement syntax, Kaite showed the following example. -----------------------------------------------
PROC SQL options ;
SELECT column(s)
FROM table-name | view-name
WHERE expression
GROUP BY column(s)
HAVING expression
ORDER BY column(s);
QUIT;
-----------------------------------------------
In my quick review, the following clauses seems useful to create table from my perspective from the following cited papers/blogs.
-----------------------------------------------
PROC SQL ;
CREATE TABLE (Table creation)
SELECT (Extract variables)
FROM (Source Table)
WHERE (Extract condition)
GROUP BY (Summary by variable)
ORDER BY (Sort)
HAVING (Extract after summarizing)
INNER JOIN (Merge and keep common variables in these two tables)
LEFT JOIN (Merge followed by extract only variables in left table)
RIGHT JOIN (Merge followed by extract only right table)
FULL JOIN (Merge and keep these two table's variables)
UNION (Set statement)
INSERT (Add record)
DELETE (delete lecode)
UPDATE (update data)
END;
-----------------------------------------------
Works Cited.
Thomas J. Winn Jr., 'Intermediate PROC SQL.' SUGI23. PDF_File
'SAS 備忘録' のPROC SQLに関する記事. Link
Post a Comment
別ページに移動します6 comments (新着順)
SEO INDIA
This comment has been removed by a blog administrator.
Revathi
Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.keep it up!!
Android Training in Chennai
Android Online Training in Chennai
Android Training in Bangalore
Android Training in Hyderabad
Android Training in Coimbatore
Android Training
Android Online Training
subha
Marcus Evans takes great pride in organising one of our flagship events, the 3rd Annual Manufacturing Excellence large scale event from 1st - 3rd August 2018.thanks.
C and C++ Training Institute in chennai | C and C++ Training Institute in anna nagar | C and C++ Training Institute in omr | C and C++ Training Institute in porur | C and C++ Training Institute in tambaram | C and C++ Training Institute in velachery
Clinnovo
Thank you so much for sharing such an awesome blog...Nice tips! Very well written information. Many thanks!
ADAM Training
TY
You're welcome. I am happy to hear that.
venkat
The great service in this blog and the nice technology is visible in this blog. I am really very happy for the nice approach is visible in this blog and thank you very much for using the nice technology in this blog
SAS Online Training
Tableau Online Training|
R Programming Online Training|