Last active
May 6, 2016 09:45
-
-
Save sbesson/b8b79ca77c0a582e1650c4676fe0718b to your computer and use it in GitHub Desktop.
A gist listing SQL queries to be run against production DBs to assess the criteria of https://github.com/openmicroscopy/openmicroscopy/pull/4608
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 ns, discriminator, count(*) from annotation group by ns, discriminator; | |
SELECT ns, discriminator, count(*) from annotation where ns = '' group by ns, discriminator; | |
SELECT ns, discriminator, count(*) from annotation where ns is null group by ns, discriminator; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment