CommencerCommencez gratuitement

Plan before you build

Finance is setting next year's budget by customer segment and wants revenue for Consumer, Business, and Education customers saved in a SEGMENT_REVENUE table. It joins three tables, so have CoCo plan the work first and review the plan before anything runs.

Cet exercice fait partie du cours

<cours>Introduction to Snowflake CoCo CLI</cours>
Voir le cours

Instructions de l’exercice

  • Start a CoCo session, press Ctrl+P to turn on plan mode, then ask for a table called SEGMENT_REVENUE with total revenue for each customer segment.
  • When the plan appears, press Tab, add "Also include the number of orders for each segment", and press Enter to approve it.
  • Once the table is created, close the session.

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice