title: get percetage in one query
body: <p>I need something like</p>
  
  <pre><code>$query = SELECT COUNT(id) as user_in FROM &lt;table_user&gt; WHERE user= 11;
  $query = SELECT COUNT(id) as total FROM &lt;table_user&gt; WHERE 1 ;
  $percetage = $user_in / $total * 100;`
  </code></pre>
  
  <p>in one query.</p>
  
  <p>Please help</p>