Zacznij terazZacznij za darmo

Check the answer yourself

The homepage list is on its way to marketing. Next, your manager asks which month brought in the most orders, to plan next year's promotions. That number is going straight into a planning deck, so this time check CoCo's answer against the raw data yourself.

To ćwiczenie jest częścią kursu

Introduction to Snowflake CoCo CLI

Zobacz kurs

Instrukcje do ćwiczenia

  • Ask CoCo which month had the most orders.
  • Check the monthly counts yourself by pasting this command: /sql SELECT TO_CHAR(order_date, 'YYYY-MM') AS order_month, COUNT(*) AS orders FROM SHOP.ORDERS GROUP BY order_month ORDER BY orders DESC
  • Type /table to open the result full screen and scroll through all twelve months.
  • Type /quit to close the session.

Interaktywne ćwiczenie praktyczne

Przekształć teorię w praktykę dzięki jednemu z naszych interaktywnych ćwiczeń

Rozpocznij ćwiczenie