DEV Community

[Comment from a deleted post]
Collapse
 
discdiver profile image
Jeff Hale

Thank you for the really great article!

I have one minor suggestion:

The first code snippet has

datename(month, sale_date) as month_name

but datename isn't in the screenshot of the table above the snippet. Would be good if the names lined up to prevent confusion.

One typo: "By using a Window Function we can see each order for each day and it's total" - (the apostrophe).

Looking forward to reading more in this series. Thanks again.

Collapse
 
helenanders26 profile image
Helen Anderson

Hi Jeff, thanks for the feedback.

I deliberated on whether or not to add monthname. I think it's a nifty bit of syntax to achieve the result in the table below, but if it's a distraction then I'll take that onboard and edit the images and snippet tomorrow. Thanks for letting me know.

Typo now fixed, nice catch!

Collapse
 
discdiver profile image
Jeff Hale

Cool, Helen.

I think it is nifty and worth putting in an article, but I found it a bit distracting in this one. It would probably be fine if "datename" were a column in the table screenshot.

 
helenanders26 profile image
Helen Anderson

This is now updated :)