You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that results in !top Editor don't have duplicate entries (1. nvim, 4. neovim should be joined into one)
Concept query:
WITH x AS (
SELECT
info ->>'Editor'AS value,
REPLACE(LOWER(info ->>'Editor'), 'neovim', 'nvim') AS normalized
FROM
sysinfo
WHERE
info ->>'Editor'!=''
),
y AS (
SELECT DISTINCTON (normalized)
value,
count(*) OVER (PARTITION BY normalized)
FROM x ORDER BY normalized,
count DESC
)
SELECT*FROM
y
ORDER BY
count DESCLIMIT5
value | count
--------+-------
Neovim | 96
vim | 55
nano | 24
Emacs | 10
micro | 8
(5 rows)
The text was updated successfully, but these errors were encountered:
by mlvzk: unixporn/trup#150
Like:
So that results in
!top Editor
don't have duplicate entries (1. nvim, 4. neovim should be joined into one)Concept query:
The text was updated successfully, but these errors were encountered: