Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 18,194 of 19,505    |
|    Henk van den Berg to Alfaking    |
|    Re: I Need help with a query...    |
|    05 Apr 11 12:13:31    |
      c8450322       From: hvandenberg@xs4all.nl              On 05-04-2011 10:54, Alfaking wrote:              > SELECT contr FROM table1       > WHERE (contr NOT IN       > (SELECT contr       > FROM table1       > WHERE (type = 'T')       > GROUP BY contr)       >       > In my idea this should be ok, but when I double-check the results,       > something goes wrong...       > no idea why              It's one of those cases where there's a subtle difference between              "give me everything where condition |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca