Wrap-up

Introduction to Snowflake SQL

George Boorman

Senior Curriculum Manager, DataCamp

Chapter 1: Snowflake SQL and key concepts

Connecting to Snowflake

  • WEB UI
  • Drivers & Connectors
  • Snowflake CLI
Introduction to Snowflake SQL

Chapter 1: Snowflake SQL and key concepts

  • VARCHAR
  • NUMBER
  • TIMESTAMP_LTZ

Data Type conversion - What, Why, How? Conversion Fucntions: TO_VARCHAR, TO_DATE

STRING functions: CONCAT, INITCAP

DATE & TIME functions: CURRENT_DATE, CURRENT_TIME

EXTRACT functions: GROUP BY ALL

Introduction to Snowflake SQL

Chapter 2: Advance Snowflake SQL Concepts

JOINS

  • NATURAL JOIN
  • LATERAL JOIN

Subquerying

CTEs

Introduction to Snowflake SQL

Chapter 2: Advance Snowflake SQL Concepts

Snowflake Query Optimization

  • Common query problems: Exploding Joins, UNION vs UNION ALL
  • Rewriting queries: TOP,LIMIT, Early filtering, Avoid Select *`

Semi structured data

  • PARSE_JSON, OBJECT_CONSTRUCT
  • Querying JSON data in Snowflake
Introduction to Snowflake SQL

Is this all?

  • Much more to unfold

Not addressed

  • Setting context
  • Roles, Users
  • Setting up Virtual Warehouses
  • Window functions
  • Query profiling
  • Materialized Views
  • Clustering

...

Introduction to Snowflake SQL

Useful resources

Introduction to Snowflake SQL

This is just the beginning!

Introduction to Snowflake SQL

Preparing Video For Download...