Exam SOL-C01 Topic 2 Question 16 Discussion
Actual exam question for Snowflake's SOL-C01 exam
Question #: 16
Topic #: 2
Question #: 16
Topic #: 2
A Snowflake environment has two databases, 'DEV DB' and 'PROD DB'. A table 'EMPLOYEES' exists in both databases with identical schemas. A developer needs to create a view in 'DEV DB' that references the 'EMPLOYEES' table in 'PROD DB' to perform cross-database joins. Which of the following SQL statements will successfully create this view in 'DEV DB'?
Suggested Answer: C,E Vote an answer
To create a view that references objects in other databases, you should fully qualify the object names in the 'SELECT statement. Both options create the view referencing the PROD DB. Option C uses `CREATE OR REPLACE VIEW and option E uses `CREATE SECURE VIEW' which are correct and commonly used options for this scenerio. 'WITH READ ONLY' is not a supported clause for creating views in Snowflake. 'CREATE SECURE VIEW' creates a secure view which is recommended to protect the underlying objects' definition.
by Julia at Mar 23, 2026, 01:36 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).