i have a basic stored procedure
DECLARE user_o VARCHAR(50);
SELECT user_name INTO user_o FROM users WHERE topic_id = 54 AND entry_time BETWEEN
2017-09-17 AND date_add( CURRENT_DATE, INTERVAL 1 DAY) ORDER BY entry_time ASC
LIMIT 10;
this throws me error #1172 sql returns more than one rows. no idea why?
my goal is to have this result set
user_name | user_o
mike mike
liz liz
helen helen
her her