INSERT INTO RESULTS (UNIXDATE, ACTION, CURRENCY, AMOUNT)
SELECT bb.UNIXDATE, 'BUY', 'BTC', bb.AMOUNT FROM BTC_BUY bb
UNION ALL
SELECT bs.UNIXDATE, 'SELL', 'BTC', bs.AMOUNT FROM BTC_SELL bs
UNION ALL
SELECT eb.UNIXDATE, 'BUY', 'ETH', eb.AMOUNT FROM ETH_BUY eb
UNION ALL
SELECT es.UNIXDATE, 'SELL', 'ETH', es.AMOUNT FROM ETH_SELL es
ORDER BY UNIXDATE ASC;