title: Unknown column 'modules.modules_id' in 'on clause'
body: <p>here is the sql codes</p>
  
  <pre><code>SELECT
  roles.role_id,
  usertype_module.role_id,
  usertype_module.viewable,
  usertype_module.editable,
  usertype_module.createable,
  modules.modules_id,
  usertype_module.modules_id,
  modules.modules,
  roles.role_name
  FROM
  modules ,
  roles
  INNER JOIN usertype_module ON roles.role_id = usertype_module.role_id AND usertype_module.modules_id = modules.modules_id
  </code></pre>
  
  <p>and this error showed 
  Unknown column 'modules.modules_id' in 'on clause'</p>
  
  <p>pls help me thanks </p>