Skip to content

Commit 93f16cf

Browse files
committed
3: make report a bit narrower
1 parent 81ed857 commit 93f16cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/3_load_profiles.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ select
8181
case
8282
when ratio > .7 then upper(opname) || ' ~' || round(100 * ratio, 2)::text || '%'
8383
else 'Mixed: ' || (
84-
select string_agg(upper(opname) || ' ~' || round(100 * ratio, 2)::text || '%', ', ' order by ratio desc)
84+
select string_agg(upper(left(opname, 1)) || ' ~' || round(100 * ratio, 2)::text || '%', ', ' order by ratio desc)
8585
from (select * from ops_ratios where ratio > .2) _
8686
)
8787
end

0 commit comments

Comments
 (0)