Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql where in maintain order group_concat

SELECT li.client_id, group_concat(li.percentage ORDER BY li.views ASC) AS views, 
group_concat(li.percentage ORDER BY li.percentage ASC) 
FROM li GROUP BY client_id
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #maintain #order
ADD COMMENT
Topic
Name
7+7 =