DEV Community

Nihal Agarwal
Nihal Agarwal

Posted on

How to draw Triangle star pattern with MySQL without using Stored Procedure?

Triangular pattern example The above pattern is for p(5). How to write a query to print the pattern P(n) (where n is Integer defining the number of rows) using MySQL without using Stored Procedure. I had one code example for MS SQL Server i.e.

DECLARE @i INT = 20

Top comments (0)