Converts an SQL database into ARFF format.