title: Generating only positive random numbers in SQLite
body: <p>In SQLite </p>
  
  <blockquote>
    <p>The <code>random()</code> function returns a pseudo-random integer between -9223372036854775808 and +9223372036854775807.</p>
  </blockquote>
  
  <p>You can get an random with maximum value n with <code>Select random() % n ;</code></p>
  
  <p>But that still generates negative numbers. How can I generate only positive random numbers in SQLite ?</p>