Skip to content

Finish Cohort8, sql assignment 1#1

Open
dzedze wants to merge 2 commits intomainfrom
assignment-one
Open

Finish Cohort8, sql assignment 1#1
dzedze wants to merge 2 commits intomainfrom
assignment-one

Conversation

@dzedze
Copy link
Copy Markdown
Owner

@dzedze dzedze commented Nov 16, 2025

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

  • Added '/02_activities/assignments/Cohort_8/images/entity_relationship_diagram.pdf' for Section 1 of the assignment.
  • Modified '/02_activities/assignments/Cohort_8/assignment1.sql' to finish the rest of the assigment.

What did you learn from the changes you have made?

  • Learned how to draw Entity Relationship Diagram.
  • Learned how to write basic SQL statements.

Checklist

  • [ x] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@monzchan monzchan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

, CASE
WHEN product_qty_type = 'unit' THEN 'unit'
ELSE 'bulk'
END as product_qty_type
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output column should be named as prod_qty_type_condensed

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @monzchan , thank you so much for your suggestion, I have changed the output column to 'prod_qty_type_condensed' as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants