def METHOD_NAME(self, sql: str) -> str:
    """Perform a query.
    :param sql: SQL string
    Returns:
        Response from SQL query.
    """
    r = subprocess.check_output(["mysql", "-u", "cod_reader", "-h", self.url, "-e", sql, "cod"])
    return r.decode("utf-8")