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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Introduction to Snowflake CoCo CLI
คำแนะนำการฝึกหัด
- Start a CoCo session, press
Ctrl+Pto turn on plan mode, then ask for a table calledSEGMENT_REVENUEwith total revenue for each customer segment. - When the plan appears, press
Tab, add "Also include the number of orders for each segment", and pressEnterto approve it. - Once the table is created, close the session.
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง
เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา
เริ่มแบบฝึกหัด