title: Simple Math max function in MySQL
body: <p>How to find the maximum of two explicit values in MySQL? Something like MAXIMUM(1, @foo).</p>
  
  <p>There are group functions like MAX, MIN, AVG, etc that take column name as an argument and work with result sets. Is it possible to convert two explicit values to a result set and use those functions? Some other ways?</p>
  
  <p>P.S.: I need a max function for one of my stored procedures.</p>