SELECT DISTINCT substring( cast(repeat( cast(ref_4.c_bek45hvu8g as char), 9) as char), cast(-10000 as signed)) as c2 FROM t_m1i as ref_4 ;