original_string: public static function getSqlAccessSite($select)
      {
          $access    = Common::prefixTable('access');
          $siteTable = Common::prefixTable('site');
  
          return "SELECT " . $select . " FROM " . $access . " as t1
  				JOIN " . $siteTable . " as t2 USING (idsite) WHERE login = ?";
      }
code: public static function getSqlAccessSite($select)
      {
          $access    = Common::prefixTable('access');
          $siteTable = Common::prefixTable('site');
  
          return "SELECT " . $select . " FROM " . $access . " as t1
  				JOIN " . $siteTable . " as t2 USING (idsite) WHERE login = ?";
      }
code_tokens: public static function getSqlAccessSite ( $ select ) { $ access = Common :: prefixTable ( 'access' ) ; $ siteTable = Common :: prefixTable ( 'site' ) ; return "SELECT " . $ select . " FROM " . $ access . " as t1
  				JOIN " . $ siteTable . " as t2 USING (idsite) WHERE login = ?" ; }
docstring: Returns the SQL query joining sites and access table for a given login
  
  @param string $select Columns or expression to SELECT FROM table, eg. "MIN(ts_created)"
  @return string  SQL query
docstring_tokens: Returns the SQL query joining sites and access table for a given login