79116470

Date: 2024-10-23 05:25:51
Score: 0.5
Natty:
Report link

The other solution would be using scalar subquery

select 
   genre,
   count(*) as cnt,
   count(*) * 100.0 / (select count(*) from titles)
from titles
group by genre
order by cnt desc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sia