Introductie tot Snowflake SQL

Introductie tot Snowflake SQL

George Boorman

Senior Curriculum Manager, DataCamp

Verbinden met Snowflake

  • Snowsight: Snowflake-webinterface

Linkerpaneel van de Snowflake-webinterface met databaseobjecten en werkbladen

Introductie tot Snowflake SQL

Werkbladen

Snowflake-webinterface met werkblad en queryresultaten

Introductie tot Snowflake SQL

Notebooks

Snowflake-notebook met Python- en SQL-celcode

Introductie tot Snowflake SQL

Verbinden met Snowflake: Drivers

 

Drivers & connectors

  • ODBC (Open Database Connectivity)
  • JDBC (Java Database Connectivity)
  • Connectors: Python, Spark en meer
1 https://docs.snowflake.com/en/developer-guide/drivers
Introductie tot Snowflake SQL

Verbinden met Snowflake: Snowflake CLI

Snowflake CLI

 

  • Command-line client
    • Te installeren op Linux, Windows of Mac
1 https://docs.snowflake.com/en/user-guide/snowsql
Introductie tot Snowflake SQL

SQL-varianten

  • Snowflake gebruikt Snowflake SQL

 

  • Andere populaire SQL-varianten:

    • PostgreSQL
    • T-SQL
    • MySQL
  • Enkele verschillen in datatypes, functies en algemene syntax

Introductie tot Snowflake SQL

Gemeenschappelijke syntax

  • SELECT
  • FROM
  • WHERE
  • GROUPBY
  • ORDER BY
  • AVG(), COUNT(), SUM() (enz.)
  • DISTINCT
  • HAVING
  • JOIN*

*Er zijn wat verschillen; later meer!

Introductie tot Snowflake SQL

Laten we oefenen!

Introductie tot Snowflake SQL

Preparing Video For Download...