Converts CSV to SQL