Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tlouf on github.
  • I am tlouf (https://keybase.io/tlouf) on keybase.
  • I have a public key ASC7dD5aFkDxlkBgcbS_ZHDU3_raqJ1XzEMQwMXjySwtQQo

To claim this, I am signing this object:

@TLouf
TLouf / ha_sql_style_guide.md
Last active April 20, 2018 04:20 — forked from fredbenenson/kickstarter_sql_style_guide.md
HousingAnywhere SQL Style Guide

Purpose

Adhering to the basic rules in this style guide will improve our ability to share, maintain, and extend our research when working with SQL.

This document is written as a manual for anyone working on the Data team, but also as a guide for anyone at the company who would like to write clean and clear code that is meant to be shared.

The individual tips in this guide are based on a composite of knowledge we've gleaned from experience and our roles at previous jobs.

NOTE: This style guide is written for use with Snowflake/Postgres 8.0.2, but much of it can be applied to any SQL database.