Syntax
REPEAT(str, count)
Purpose
Returns a string that is the str repeated count times. If count is less than or equal to 0, it returns an empty string. If any parameter is NULL, it returns NULL.
Examples
obclient> SELECT
REPEAT('1', -1),
REPEAT(null, null),
REPEAT('Abc', 4)
\G
*************************** 1. row ***************************
REPEAT('1', -1):
REPEAT(null, null): NULL
REPEAT('Abc', 4): AbcAbcAbcAbc
1 row in set
