select count(*) as total from pizza_runner.x_csv as xc where no <> 0 select round(avg("no"),2), --count without excluding zero round(avg(nullif("no",0)),2) as r-- count with exluding zero from pizza_runner.x_csv as xc
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter