Skip to content

Assignment 2 by Syeda Ali#2

Open
ezzaali47 wants to merge 1 commit intomainfrom
assignment-two
Open

Assignment 2 by Syeda Ali#2
ezzaali47 wants to merge 1 commit intomainfrom
assignment-two

Conversation

@ezzaali47
Copy link
Copy Markdown
Owner

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

I created, modified, and tested multiple SQL queries and commands to better understand database operations.

What did you learn from the changes you have made?

I learned how to use ranking and window functions effectively (ROW_NUMBER, COUNT OVER), how to structure subqueries to filter results, and how to safely update or delete records.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

No

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

How were these changes tested?

I tested all queries on the database to verify they returned correct and expected results.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

);

-- UPDATE
/* 1.We want to add the current_quantity to the product_units table.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please complete the last question

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 other looks very good!

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