CREATE TABLE Temp(
SELECT j.id,
CONCAT(a.olhc1, b.olhc1, c.olhc1,
d.olhc1, e.olhc1, f.olhc1, g.olhc1,
h.olhc1, i.olhc1, j.olhc1)Olhc
FROM
eurusd_hour as a, eurusd_hour as b,eurusd_hour as c,
eurusd_hour as d,eurusd_hour as e,eurusd_hour as f,
eurusd_hour as g,eurusd_hour as h,eurusd_hour as i,
eurusd_hour as j
WHERE
a.id + 1 = b.id AND b.id + 1 = c.id AND
c.id + 1 = d.id AND d.id + 1 = e.id AND
e.id + 1 = f.id AND f.id + 1 = g.id AND
g.id + 1 = h.id AND h.id + 1 = i.id AND
i.id + 1 = j.id )";