Get the most present elements from many fields Here is my table:

id|item0|item1|item2
--+-----+-----+-----
1 | 10  | 12  | 12
2 | 12  | 68  | 13
3 | 15  | 13  | 10


I just want to get the most present number of all itemX columns. The query result should be: 12, 13, 10, 15, 68.

I know how to do this for one field:

SELECT item0 from finalBuild GROUP BY item0 ORDER BY COUNT(item0) DESC


But no for several at once.
You can use derive table to aggregate all your column values in a single column and do ordering and counting in the derived table. Example below.

Select item0 as item, count(*) as cnt from
(SELECT item0 from finalBuild
UNION ALL
SELECT item1 from finalBuild
UNION ALL
SELECT item2 from finalBuild) as item
group by item0
order by count(*) desc;