Complete the code to create a virtual warehouse in Snowflake.
CREATE WAREHOUSE [1] WITH WAREHOUSE_SIZE = 'SMALL';
The warehouse name identifies the compute resource in Snowflake.
Complete the code to create a database in Snowflake.
CREATE DATABASE [1];The database stores data separately from compute in Snowflake.
Fix the error in the command to start a warehouse.
ALTER WAREHOUSE [1] RESUME;Only a warehouse (compute) can be resumed, not a database or storage.
Fill both blanks to create a warehouse with auto suspend and resume enabled.
CREATE WAREHOUSE my_warehouse WITH AUTO_SUSPEND = [1] AUTO_RESUME = [2];
Auto suspend time is in seconds (300 = 5 minutes), and auto resume is enabled with TRUE.
Fill all three blanks to query data using a warehouse and database.
USE WAREHOUSE [1]; USE DATABASE [2]; SELECT * FROM [3].customers LIMIT 5;
You select the warehouse (compute), then the database (storage), then the schema (public) to query data.
