Skip to content

Instantly share code, notes, and snippets.

@bastianh
Created October 19, 2015 15:09
Show Gist options
  • Save bastianh/e74ba67879abcbcf61b0 to your computer and use it in GitHub Desktop.
Save bastianh/e74ba67879abcbcf61b0 to your computer and use it in GitHub Desktop.
# slots
SELECT
"attributeName" AS name,
coalesce(attrib."valueFloat", attrib."valueInt") AS value
FROM evesde."dgmTypeAttributes" AS attrib
INNER JOIN evesde."invTypes" AS type
ON attrib."typeID" = type."typeID"
INNER JOIN evesde."dgmAttributeTypes" AS attribtypes
ON attrib."attributeID" = attribtypes."attributeID"
WHERE "attributeName" IN ('lowSlots','medSlots','hiSlots','rigSlots','maxSubSystems','lowSlotModifier','medSlotModifier','hiSlotModifier')
AND type."typeID" = 582
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment