SQL Data Types — a practical guide to SQL data types with clear examples you can reuse in real projects.
SQL Tutorial Series (12/100). Prefer one article? Read the complete SQL tutorial.
Short description
Right types improve storage, indexing, and validation.
Common MySQL types
INT, BIGINT, DECIMAL
VARCHAR, TEXT
DATE, DATETIME, TIMESTAMP
BOOLEAN / TINYINT(1)
JSON