6 lines
677 B
SQL
6 lines
677 B
SQL
SELECT DISTINCTROW Structures.[Structure Name],
|
|
Component.[Component Name],
|
|
[Structure Weapons].ID
|
|
FROM (Component INNER JOIN (Weapons INNER JOIN (Structures INNER JOIN [Structure Weapons] ON Structures.StructureID = [Structure Weapons].StructureID) ON Weapons.[Component ID] = [Structure Weapons].[Weapon ID]) ON Component.[Component ID] = Weapons.[Component ID]) INNER JOIN [Technology Type] ON Structures.[TechnologyType ID] = [Technology Type].[TechnologyType ID]
|
|
WHERE ((([Technology Type].[Tecnology Name])="Level One" Or ([Technology Type].[Tecnology Name])="Level One-Two" Or ([Technology Type].[Tecnology Name])="Level All") AND ((Structures.psx)=Yes));
|