เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Comparing senior workouts

Let's say you're interested in comparing workouts by senior gym members by gym location and workout type. To do this, you need to use three different tables, which could get a bit messy. Lucky for you, common table expressions can help to make this a breeze!

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Data Types and Functions in Snowflake

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

-- Create a senior_members temporary result set
___ ___ ___ (
    SELECT
        ___
    FROM CORE_GYM.members
    WHERE personal_info:age::NUMBER > 60
)

SELECT * FROM senior_members;
แก้ไขและรันโค้ด