Thanks for the replies Kudose and mykg4orce
i cant get that to work, sorry
would this not work instead
SELECT predicted, actual FROM table, WHERE predicted=actual
so should it be
SELECT actual,predicted FROM Table ,actual AS a, predicted AS p WHERE a.result=p.result
thanks in advance