05-21-2014 08:32 AM
I found the SAS 9.3 SQL Procedure User's Guide to be extremely helpful. Add that book to your library then pick up the O'Reilly SQL Pocket Guide to see how SAS SQL can differ from all the other SQL dialects.
05-21-2014 09:12 AM
This list of 200+ files from support.sas.com are all samples that show the use of PROC SQL. You may find some of them helpful. They provide complete code and show the results of running that code. You can cut and paste the code and manipulate it to see what the changes will do. I hope these samples will help in your quest.
You can also go to the documentation page on support.sas.com and use the search box to search for syntax or examples. This will be a great place to get more information on the coding that you see in sample or example code.