Skip to content

Instantly share code, notes, and snippets.

@alibitek
Created June 5, 2016 11:53
Show Gist options
  • Save alibitek/6cd0b616204fa2db69b46d3e32be776a to your computer and use it in GitHub Desktop.
Save alibitek/6cd0b616204fa2db69b46d3e32be776a to your computer and use it in GitHub Desktop.
MySQL print triangle
select repeat('* ', @n := @n + 1) from information_schema.tables, (select @n := 0) t limit 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment