I\'m a beginner in MySQL, and I accidentally created a table with a column named
(price decimal(2,2));
It needs to be decimal(4,2)
decimal(4,2)
use CHANGE
ALTER TABLE table_name CHANGE OLD_COLUMN_NAME OLD_COLUMN_NAME datatype;
an example
ALTER TABLE table_name CHANGE price price decimal(4,2);