Draw The Triangle 2 | SQL Alternative Queries | HackerRank Solution