Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. SELECT
  2. Entities.ID,
  3. EntityTypes.Name as TypeName,
  4. PropertyTypes.Name as PropType,
  5. Properties.Value
  6. FROM
  7. PropertyTypes JOIN Properties ON PropertyTypes.ID = Properties.TypeID,
  8. Entities JOIN Properties ON Entities.ID = Properties.EntityID
  9. EntityTypes JOIN Entities ON EntityTypes.ID = Entities.TypeID
  10. ORDER BY Entities.ID
Add Comment
Please, Sign In to add comment