Skip to content
Advertisement

Print rows of stars using PostgreSQL?

I am trying to replicate the following code in SQL Server to PostgreSQL:

Required output

Advertisement

Answer

You can use generate_series()

Online example

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement