SnowPro Core Certification — Question 635

A view is defined on a permanent table. A temporary table with the same name is created in the same schema as the referenced table.

What will the query from the view return?

Answer options

Correct answer: B

Explanation

The query from the view will return data from the temporary table because it takes precedence over the permanent table when both share the same name in the same schema. The other options are incorrect as they suggest that the view would reference the permanent table or result in an error, neither of which occurs in this scenario.