我正在尝试使用这样的程序:
DELIMITER $$
CREATE
/*[DEFINER = { user | CURRENT_USER }]*/
PROCEDURE `godating`.`realnames`(OUT rnames VARCHAR)
/*LANGUAGE SQL
| [NOT] DETERMINISTIC
| { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA }
| SQL SECURITY { DEFINER | INVOKER }
| COMMENT 'string'*/
BEGIN
SELECT username INTO rnames FROM users GROUP BY username HAVING COUNT(*)>3
END$$
DELIMITER ;
我想在 rnames 输出中必须有几个用户名值。我怎样才能改进我的程序来实现这个目标?