Module 01 · Lesson 6 of 12Detailed study · about 20 min

Set up a trial and find your way around Snowsight

Create or use a learning account, then open a SQL file in Snowsight.

Understand the idea

Record the choices before continuing. Complete the current authentication and MFA enrollment prompts, sign in through the account link and save the non-secret identifier. Trial duration, credit balance and available options should be read from the current signup page and account UI.

Key ideas in simple English
ConceptWhat it means
Trial setupChoose the offered edition/cloud/region, verify signup and complete authentication prompts.
SnowsightBrowser interface for SQL, objects, history, loading and administration.
WorksheetsOlder terminology. Current guidance uses Projects → Workspaces → SQL File.
First querySelect an allowed role and warehouse, then execute the supplied VALUES example.

A concrete example

SELECT column1 AS amount FROM VALUES (100), (40); returns two amounts: 100 and 40.

Remember: Check trial usage and warehouse settings before repeated practice.

Explain it step by step · full theory

Prepare a learning account

A trial gives you a place to follow the hands-on exercises. Use an existing authorized learning account if your organization provides one. For a new trial, begin at the official Snowflake signup page, supply the requested contact details, choose an available edition/cloud/region and complete the verification flow.

Record the choices before continuing. Complete the current authentication and MFA enrollment prompts, sign in through the account link and save the non-secret identifier. Trial duration, credit balance and available options should be read from the current signup page and account UI.

After login, inspect the active role and account. Locate trial usage or balance information and the warehouses available to you. A warehouse that remains running can consume compute credits, so learn its suspend settings before doing repeated data exercises.

Snowsight is the browser interface

Snowsight provides areas for authoring SQL, exploring databases, inspecting query history, loading files and administering resources. Which controls appear depends on your role and account.

Keep three questions in view. Which account am I using? What privileges does my active role have? Which warehouse and namespace does this SQL file use? A role selected inside a SQL file may differ from the role governing other parts of the interface.

Worksheets and the current Workspaces experience

Older material calls the SQL editor a worksheet. Current Snowflake documentation says Workspaces has replaced Legacy Worksheets. Use Projects → Workspaces, open My Workspace or an available workspace, and create a SQL File.

Select an allowed role and warehouse. Choose a database/schema when working with stored tables. Enter the small VALUES query below and execute that statement. The result should contain two rows with the IDs and amounts shown. This self-contained query supplies its own input records.

Save the SQL file with a meaningful name such as level_0_first_query.sql. Then change 40 to 50 in the input and predict the new result before executing again. This connects editing, selected statement execution and the resulting table.

Words used in this lesson
Snowsight
Snowflake’s browser interface.
Workspace
An area organizing code files and related authoring work.
Session context
The role, warehouse and namespace used for a session.

See how it works

Choose a step to explore the idea at your own pace.

Open the interactive explanation
Interactive explainer1 / 3

Set up a trial and find your way around Snowsight

Approved choices
Verify email
Authentication

Register

Create or obtain the learning account.

Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.

Read the complete diagram explanation
  1. Register

    Create or obtain the learning account.

  2. Orient

    Read account and execution context.

  3. Query

    Create a SQL file and inspect a small result.

Try the SQL or command

Read → predict → run in your learning environment → compare. You can also learn by reading without an account.

New to SQL? Where to run it and how to read it

A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.

  1. No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
  2. For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
  3. Read the entire example, including comments beginning with --. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor.
  4. Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
SELECT / FROM
Choose the values to return / identify their input.
VALUES / COLUMN1
VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
AS / WITH
AS gives a result a readable name. WITH names a temporary query step within one statement.
NULL / ::
NULL means missing or unknown. The :: notation converts a value to a named data type.
Session
One connection and its settings. Keep related transaction steps in the same session.
Database.schema.table
A full address for stored data. It is separate from the warehouse that processes queries.
Help with common practice errors
  • No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
  • Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
  • Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
  • Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.

Before running this lesson

Current browser guidance uses Workspaces. Visible controls depend on role and account configuration.

Your first two-row result

SQL · example
SELECT column1 AS order_id, column2 AS amount
FROM VALUES (101, 100), (102, 40)
ORDER BY order_id;

What to expect and why

VALUES provides two records inside the query. AS assigns understandable result-column names, and ORDER BY gives a predictable display sequence.

Expected result for the supplied input (not live output)
ORDER_IDAMOUNT
101100
10240

Check your understanding

Choose an answer, then check your reasoning. This is practice, not a scored test.

Where should a beginner follow the current SQL editing workflow?

Try it yourself

Complete the signup or existing-account orientation and explain your first query result.

Compare your reasoning

Record the account choices, check your role and warehouse, create a SQL file and query the two supplied rows. Verify both values before moving on.

Official sources and curriculum

Module 01 · See module scope