finally created correct arff file from sql