Hmm.
Please look at the below:
QUERY(IMPORTRANGE("1Hh2grfB6rp9OQ2yAIu3S5YF_CCFJGwyqPGveABlOZKg", "World Cup!A1:D21"), "SELECT * WHERE Col4 = 'Brazil' ",1)
The first Part is IMPORTRANGE:
IMPORTRANGE("1Hh2grfB6rp9OQ2yAIu3S5YF_CCFJGwyqPGveABlOZKg", "World Cup!A1:D21")
The second part is QUERY, which wraps around the imported data and applies SQL‑like filtering. Without SQL, QUERY is meaningless/incomplete.
Refer to Google Help on QUERY.
Your can try the following for testing:
QUERY(IMPORTRANGE("1Hh2grfB6rp9OQ2yAIu3S5YF_CCFJGwyqPGveABlOZKg", "World Cup!A1:D21"), "SELECT * ",1)
Then try the following in another Cell:
QUERY(IMPORTRANGE("1Hh2grfB6rp9OQ2yAIu3S5YF_CCFJGwyqPGveABlOZKg", "World Cup!A1:D21"), "SELECT * WHERE Col4 = 'Brazil' ",1)
Swarup.