Created
October 2, 2017 20:49
-
-
Save djvs/7d5c03955ca2f516635105b24fed1f54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
(count(*) filter (where confirmed) * 100.0 / nullif(count(*),0) ) | |
from foobar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment