Created
July 7, 2018 18:36
-
-
Save cabloo/7dc9288897986ce99f59f6e5e2c5489a to your computer and use it in GitHub Desktop.
Revisions
-
cabloo created this gist
Jul 7, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ SELECT parts.name, COUNT(*) FROM part_server INNER JOIN parts on parts.id = part_server.part_id GROUP BY part_id;