REPEAT(, ) : REPEAT « String « SQL / MySQL






REPEAT(, )

    
mysql>
mysql> SELECT REPEAT('CatsDogs', 3);
+--------------------------+
| REPEAT('CatsDogs', 3)    |
+--------------------------+
| CatsDogsCatsDogsCatsDogs |
+--------------------------+
1 row in set (0.00 sec)

   
    
    
    
  








Related examples in the same category

1.To chart the relative frequency distribution instead, use the percentage values: