Referencing null in Google BigQuery

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Referencing null in Google BigQuery



I'm not sure how to reference the null value I'm seeing below. I believe this null value was generated as a result of a LEFT JOIN but now I want to replace this String and have no way of referencing it



BigQuery Table with null Value




1 Answer
1



to reference this NULL value in mobile_type field you can use


WHERE mobile_type IS NULL



or if this is result of LEFT JOIN - you can modify your respective SELECT - instead of something like SELECT mobile_type - you can use SELECT IFNULL(mobile_type, 'none') (for standard sql)


SELECT mobile_type


SELECT IFNULL(mobile_type, 'none')






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

NwfDy20r2D,0CLicugSrbZwAaiq2l8 TSTpemvgSP p1npa8Knzsmv86wHr4VqfutKe32Elt4
3K8BiylBU14,dP VvYybQPdGsdkp2vCn5ULtwb

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results