Created
November 22, 2011 23:54
-
-
Save glesica/1387484 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 | |
a.application_id, | |
a.application_name, | |
a.application_vendor, | |
a.application_version, | |
(SELECT COUNT(*) FROM installations i WHERE i.application_id=a.application_id) count | |
FROM | |
applications a | |
WHERE | |
1=1 | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment