转自:https://www.yiibai.com/sql/sql-repeat-function.html
REPEAT(str,count)
返回一个字符串组成的字符串STR重复的次数。如果计数小于1,则返回一个空字符串。如果str或count是NULL,则返回NULL。
SQL> SELECT REPEAT('SQL', 3);
+---------------------------------------------------------+
| REPEAT('SQL', 3) |
+---------------------------------------------------------+
| SQLSQLSQL |
+---------------------------------------------------------+
1 row in set (0.00 sec)