Created
July 7, 2018 18:36
-
-
Save cabloo/7dc9288897986ce99f59f6e5e2c5489a to your computer and use it in GitHub Desktop.
Get number of uses of each part in SynergyCP
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 parts.name, COUNT(*) FROM part_server INNER JOIN parts on parts.id = part_server.part_id GROUP BY part_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment