Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Growing a SQL Query


Published on

Growing a SQL Query

Published in: Software
  • Be the first to comment

  • Be the first to like this

Growing a SQL Query

  1. 1. Growing a SQL Query RobertoVitillo, Data PlatformTeam Mozilla London All Hands
  2. 2. Raw data (think JSON) Columnar storage (think Parquet) Database engine (think Presto)
  3. 3. A lot has changed since SQL 92
  4. 4. Data should be used to answer questions Let’s try to answer one…
  5. 5. DEMO
  6. 6. SQL dialects support complex nested data structures FACT #1
  7. 7. SQL has variables
 (aka common table expressions) FACT #2
  8. 8. SQL has for each loops
 (aka lateral joins) FACT #3
  9. 9. Window functions! FACT #4