I would like to combine the following SQL queries to return a single table with the column names:
mnth, correct_predictions, incorrect_predictions
ts is a timestamp type.
SELECT monthname(ts) as mnth, count(*) AS correct_predictions
FROM prediction
WHERE actual = 1 AND result = 1 OR actual = 0 AND result = 0
GROUP BY monthname(ts);
SELECT monthname(ts) as mnth, count(*) AS incorrect_predictions
FROM prediction
WHERE actual = 0 AND result = 1 OR actual = 1 AND result = 0
GROUP BY monthname(ts);