How to plot an ASCII bar chart with SQL
blog.jooq.org