Count () sorting problem of oracle Database

I want to sort each person"s type in descending order according to the sum of the sl of each person"s sl. What should I do with
clipboard.png

Mar.13,2021

select sum (sl) as sum from (the sql) group by type order by sum; above you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b59e-2c270.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b59e-2c270.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?