sql datatypes documentation added #346
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This Pull Request introduces a new sql-datatypes.md file to the website's documentation, addressing the critical gap in SQL data types content as identified in Issue #331
Fixes #331
Type of Change
Changes Made
The changes include adding a comprehensive file with beginner-friendly explanations of Numeric (TINYINT, INT, FLOAT, DOUBLE, BIGINT), String (CHAR, VARCHAR, BLOB), Date/Time (DATE, YEAR), and Other (BOOLEAN, BIT) data types, complete with practical examples using CREATE TABLE and INSERT INTO statements, formatted output tables in sections, and the integration of assets/datatypes.png as a visual aid. Additionally, "Pro Tip" and "What NOT to Do" sections (e.g., avoiding FLOAT for money and recommending DECIMAL instead) have been included to guide learners, all presented in a friendly tone with structured metadata (e.g., id: sql-datatypes, sidebar_position: 5, tags like sql, data-types) to align with the existing style (e.g., filtering-data.md).
Checklist
npm run build
and attached scrrenshot in this PR.