Complete the code to select all columns from the table in the correct schema.
SELECT * FROM [1].my_table;The schema organizes tables inside a database, so you must specify the schema to access the table.
Complete the code to create a new schema inside a database.
CREATE SCHEMA [1];You create a schema by naming it directly; schemas organize tables inside databases.
Fix the error in the code to correctly reference a table in a database and schema.
SELECT * FROM [1].my_schema.my_table;The correct order is database.schema.table. The first part must be the database name.
Fill both blanks to create a fully qualified table name in Snowflake.
SELECT * FROM [1].[2].sales_data;
The full path to a table is database.schema.table. Here, sales_data is the table, so blanks are database and schema.
Fill all three blanks to create a new table in the correct database and schema.
CREATE TABLE [1].[2].[3] (id INT, name STRING);
To create a table, specify database.schema.table. Here, analytics_db is the database, public is the schema, and customers is the table.