I need to clean a database by changing zeros to null values before looking for trends.
1 Answer
You can use the UPDATE operation:
https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#update_statement
Add a WHERE clause to only affect rows where the value is zero.