I am creating a database that will contain products with several columns "height" (in meters, for ex 7.79 or 12.8). No more than 2 digits before and 2 after the decimal point. What type of field should I use for this?
If I use a decimal (2,2) attempt to insert 7.79 in phpmyadmin, I get the error message "Warning: # 1264 Value out of range for column" working_height "in row 1
I will use this database for search, so I should be able to run a query like "select all products whose height is greater than 7".
source share