title: SQL - Create table for store weight and height
body: <p><br>
  I am looking on internet for 3 hours, but i dont find any solution.<br>
  I would like to create an SQL database via script. I storing user weight and height in a table, but i do not know which is the best type for it.</p>
  
  <blockquote>
    <p>SQL code</p>
  </blockquote>
  
  <pre><code>CREATE TABLE details (
    ID int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
    user_id int(11) NOT NULL REFERENCES user(ID),
    weight decimal(5,2) UNSIGNED NULL,
    height tinyint UNSIGNED NULL
  );
  </code></pre>
  
  <p>I want store height in cm [100 - 220]<br>
  and weight in Kg [30.0 - 150.0] example. weight -> ##.#</p>
  
  <p><b>Edit:</b><br>
  This is MySQL server.</p>