Created
February 10, 2015 16:56
-
-
Save rcreasey/ad0c987ec08751f5429b to your computer and use it in GitHub Desktop.
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 characters
| SELECT | |
| t.typeName, | |
| g.groupName, | |
| t.published, | |
| mg.metaGroupName metaGroupName | |
| FROM | |
| invTypes AS t INNER JOIN | |
| invGroups AS g ON t.groupID = g.groupID LEFT OUTER JOIN | |
| invMetaTypes AS mt ON t.typeID = mt.typeID LEFT OUTER JOIN | |
| invMetaGroups AS mg ON mt.metaGroupID = mg.metaGroupID LEFT OUTER JOIN | |
| WHERE | |
| g.categoryID = 6 AND t.published = 1 | |
| ORDER BY | |
| t.typeName ASC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment