Skip to content

Database for Online Shop#190

Open
Bilik143 wants to merge 1 commit into
mate-academy:mainfrom
Bilik143:main
Open

Database for Online Shop#190
Bilik143 wants to merge 1 commit into
mate-academy:mainfrom
Bilik143:main

Conversation

@Bilik143

@Bilik143 Bilik143 commented Jun 6, 2026

Copy link
Copy Markdown

No description provided.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

The database implementation meets all technical requirements with correct table structures, primary keys, and foreign key relationships. Only minor cosmetic issues were identified: column name casing (Warehouseamount → WarehouseAmount) and SQL keyword casing (Foreign KEY → FOREIGN KEY), which do not affect functionality.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Comment thread task.sql
Name VARCHAR(50),
Description VARCHAR(100),
Price INT,
Warehouseamount INT

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 column name should be WarehouseAmount (with capital 'A') to match the requirement specification exactly, not Warehouseamount

Comment thread task.sql
OrderID INT,
ProductID INT,
FOREIGN KEY (OrderID) REFERENCES Orders(ID) ON DELETE SET NULL,
Foreign KEY (ProductID) REFERENCES Products(ID) ON DELETE SET NULL

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Inconsistent casing: Foreign KEY should be FOREIGN KEY for consistency with the rest of the script

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