Newbie Question: Why does this not work?


  • 0
    T

    My code is

    SELECT DISTINCT c.Name
    FROM Customers as c natural join ((SELECT DISTINCT Id FROM Customers) EXCEPT (SELECT DISTINCT CustomerId FROM Orders)) as o;
    

    How come this doesn't work?


Log in to reply
 

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