Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

group_concat order by

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