warzone2100/data/stats-sql/queries/StructureFunctions.sql

5 lines
314 B
SQL

SELECT DISTINCTROW Structures.[Structure Name],
Functions.[Function Name],
[Structure Functions].ID
FROM Functions INNER JOIN (Structures INNER JOIN [Structure Functions] ON Structures.StructureID = [Structure Functions].StructureID) ON Functions.[Function ID] = [Structure Functions].[Function ID];