Skip to content
Advertisement

Need to find string using bigquery

We have below string column and having below data

enter image description here

and I want to find Null count present in string columns means how many times null value('') present in front of id column present in select statement using big query.

Don’t use string position.

Expected output:

Advertisement

Answer

Below is for BigQuery Standard SQL

if to apply to sample data from your question – the output is

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement