def build_gemini_query(self, query, extra_info):
        """Append sql to a gemini query

        Args:
            query(str): The gemini query
            extra_info(str): The text that should be added

        Return:
            extended_query(str)
        """
        if 'WHERE' in query:
            return "{0} AND {1}".format(query, extra_info)
        else:
            return "{0} WHERE {1}".format(query, extra_info)