Proc SQL: Advanced Sas

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ADVANCED SAS

Proc SQL
Chapter-1
Introduction to the SQL Procedure

What is SQL?
What is the SQL Procedure?
Terminology
Comparing PROC SQL with the SAS DATA step
Note about the Example Table

Chapter-2
Retrieving Data From a Single Table

Overview of the select Statement


Selecting Columns in a Table
Creating New Columns
Sorting Data
Retrieving rows that satisfy a Condition
Summarizing Data
Grouping Data
Filtering Grouped Data

Chapter-3
Retrieving Data from Multiple Tables
Introduction
Selecting Data from More Than One Table by
Using joins
Using Sub queries to Select Data
When to Use Joins and Sub queries
Combining Queries with Set Operators
Chapter-4
Creating and Updating Tables and Views
Introduction
Creating Tables
Inserting Rows into Tables
Updating Data Values in a Table
Deleting Rows
Altering Columns
Creating an Index
Deleting a Table
Using SQL Procedure Tables in SAS Software
Creating and Using Integrity Constraints in a
Table

Chapter-5
Programming with the SQL Procedure
Introduction
Using Proc SQL Options to Create and
Debug Quires
Improving Query Performance
Accessing SAS System Information Using
DICTIONRY Tables
Using Proc SQL with the SAS Macro
Facility
Formatting PROC SQL output Using the
Report Procedure
Accessing a DBMS with SAS/ACCESS
Software
Chapter-6
Practical Problem-Solving with PROC SQL
Overview
Computing a Weighted Average
Comparing Tables
Overlaying Missing Data Values
Computing Percentages within Subtotals
Counting Duplicate Rows in a Table
Expanding Hierarchical Data in a Table
Summarizing Data in Multiple Columns
Creating a Summary Report
Creating a Customized Sort Order
Conditionally Updating a Table
Updating a Table with Values from
Another Table
Creating and Using Macro Variables

You might also like