I think there is a bug here


  • 0
    L

    I think the following code should work for this question but it showed errors only because the order difference of output .
    '''
    select c.name from customer c where c.referee_id != 2
    union
    select c.name from customer c where c.referee_id is null
    '''


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.