List All Current Accounts

Get all currently active accounts (where valid_to is infinity):

select id, username, email, version, valid_from
from ores.accounts
where valid_to = '9999-12-31 23:59:59'::timestamptz
order by username;
id	username	email	version	valid_from

Emacs 29.3 (Org mode 9.6.15)