Also if you're joining a subquery rather than actual table, you have to give it an alias.
SELECT
t1.ID, t1.field1,
sq.field2, sq.field3
FROM
table1 AS t1
INNER JOIN (
SELECT
ID, field2, field3
FROM
someOtherTable
WHERE
someCondition = TRUE
) AS sq
ON
t1.ID = sq.ID