sql to get max value of column code example
Example 1: sql display max value
SELECT MAX() FROM ;
SELECT MAX() FROM GROUP BY ;
Example 2: sql set max value in column
ALTER TABLE dbo.mytable ADD CONSTRAINT CK_HAPPINESS_MAX CHECK (PokemonHappiness <= 10000)
Related