SAS Programming with SQL
Learn Creating A Table, Joining Three Tables, Finding Duplicate Records with multiple assignments
This course is designed to introduce advanced techniques of SAS programming using Structured Query Language (SQL). This course will help you to prepare for advanced SAS certification exams (SQL part).
SQL stands for Structured Query Language. According to ANSI (American National Standards Institute), it is the standard language for relational database management systems.SQL is one of the many languages built into the SAS System. Using PROC SQL, the SAS communicates with powerful data manipulation and query tool. Topics covered will include selecting, subsetting, sorting and grouping data--all without the use of DATA step code or any procedures other than PROC SQL. THE STRUCTURE OF A SQL QUERY SQL is a language build on a very small number of keywords:
For the vast majority of queries that you run, the seven keywords listed above are all you’ll need to know. There are also a few functions and operators specific to SQL that can be used in conjunction with the keywords above. SELECT is a statement and is required for a query. All the other keywords are clauses of the SELECT statement. The FROM clause is the only one that is required. The clauses are always ordered as in the list above and each clause can appear, at most, once in a query. The nice thing about SQL is that, because there are so few keywords to learn, you can cover a great deal in a short duration. So, let’s get on with the learning!
StartComparing Tables (2:49)
StartFinding Duplicate Records (2:07)
StartAssignment Only Displaying Unique records/rows[Problem Statement ] (0:49)
StartAssignment Only Displaying Unique records/rows[Solution ] (2:36)
StartCustomize The Way You Sort (4:25)
StartShort Assignment [Problem] (0:44)
StartShort Assignment [Solution] (2:37)