The basic ideea is that when I call a procedure I want to get a set of data not just one value (by setting results
to be INT
and selection COUNT(id)
for instance).
I would like to know how to change this procedure to get multiple values...
DELIMITER //
CREATE PROCEDURE getnames(IN id_in INT,OUT results ???)
BEGIN
set results=(select name from people where id>id_in);
END //
DELIMITER ;