def delete_var(var, detach=False, breakline=True):
    """Query for deleting the input variable.

    Parameters
    ----------
    var
        Name of the variable to remove
    """
    detach = ''
    n = ''
    if detach is True:
        detach = 'DETACH '
    if breakline:
        n = '\n'
    return '{}DELETE {}{}'.format(detach, var, n)
