Programming & Scientific Computing · Statistical & BI Software

SAS: SQL in SAS (PROC SQL) - Expert level guide

Public introduction · full guide in Eikos

Introduction

What this guide covers

Introduction // SAS Base and Analytical Engine · SQL Implementation

Overview

Topics covered

  • Introduction
  • The PROC SQL Engine in SAS
  • Introduction to PROC SQL and its Architecture
  • Mapping Relational Algebra in SAS
  • Life Cycle of a Query in PROC SQL
  • The Logical Structure of the SELECT Statement

Related concepts

Main connections

  • SQL & relational data modeling
  • Calculus & differentiation
  • Relational joins & entity integrity
  • Aggregation & grouping in SQL
  • Preprocessing pipelines & transform recipes
  • Mean & expected value

Compatible notation

Mathematical sample in LaTeX

The expression is rendered accessibly, with its LaTeX source preserved below.

σθ(R)≡\texttt{SELECT * FROM R WHERE }θ
View LaTeX source\sigma_{\theta}(R) \equiv \text{\texttt{SELECT * FROM R WHERE }} \theta