What are the consequences of not properly defining data types in PHP MySQL databases for numeric values?

When numeric data types are not properly defined in PHP MySQL databases, it can lead to data inconsistencies, inefficient storage, and potential errors when performing calculations or comparisons. To solve this issue, it is important to accurately define the data types for numeric values in the database schema to ensure data integrity and optimize performance.

// Define the data type for numeric values in a MySQL database table
CREATE TABLE example_table (
    id INT AUTO_INCREMENT PRIMARY KEY,
    numeric_column INT
);