Gitlab hero border pattern left svg Gitlab hero border pattern right svg

SQL Style Guide


SQL Style Guide

Since we don't have a linter, it is our collective responsibility to enforce this Style Guide.

Field Naming and Reference Conventions

Dates

Use CTEs (Common Table Expressions), not subqueries

General

Functions

JOINs

Example Code

Commenting

Other SQL Style Guides