quote - count
matthewt [Wed, 8 Feb 2017 18:59:38 +0000 (18:59 +0000)]
git-svn-id: https://jules.scsys.co.uk/repository/shadowcat-code/scratchpad/matthewt/sig/lib@2221 8a6f57db-631f-0410-b083-dc7c4259d016

quotefile

index 549aff5..2e33e5b 100644 (file)
--- a/quotefile
+++ b/quotefile
@@ -7582,3 +7582,8 @@ production environment."
         was. straight up deleted it. I don't know what 19 year old me 
         wanted hidden so badly they put it on a truecrypt volume, but I 
         feel they would agree it's better this way.
+%
+<kbk_> I find that well over half the time I'm selecting COUNT(1), I'm doing
+       it with a GROUP BY clause and returning multiple rows anyway.
+<stu> Pretty sad, imo, if you need an sql db just to count to 1.
+<stu> 6 I can understand, but 1? That's what the fpu is for.