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
{{ message }}
This repository was archived by the owner on Jul 9, 2021. It is now read-only.
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)
Like:
So that results in

!top Editordon't have duplicate entries (1. nvim, 4. neovim should be joined into one)Concept query: