MYSQL - GROUP_CONCAT AND FIND_IN_SET are mixing values/order?
问题 I have the following problem: I try to select all the votes a user made and put them out in one column. I use GROUP_CONCAT for this, but somehow it is mixing the values order. This is the SQL code: SELECT GROUP_CONCAT(DISTINCT options.option_name SEPARATOR ',') AS selected, user_login.firstname, user_login.lastname, event.event_title FROM options, user_login, event, votes, questions WHERE event.id = ? AND questions.Event_id = event.id AND votes.user_id = user_login.id AND votes.question_id =