(BigQuery) SQL Truisms:
- What is the smallest common denominator in the table? This is the primary key, which is abstracted away in BigQuery.
- You can only ever work on one row of data. This means that the thing you access in the select is on a row level. So to do whatever you want to do, you need to get all the pieces in the same row.
- You can do anything with SQL. Except (dynamically) add new columns
- You can use scripts. Use JSON like it is no one's business in BigQuery