Topic: SQL
Recursive SQL queries
A few examples of recursive queries for PostgreSQL using WITH RECURSIVE.
How to ORDER BY the result of SELECT COUNT in Ecto
Spoiler: by using fragments to set an alias.
A few examples of recursive queries for PostgreSQL using WITH RECURSIVE.
Spoiler: by using fragments to set an alias.