RE: How can I do this SQL query

2002-05-24 Thread Jay Blanchard
You have written the following: [snip] > I have a file(transfile) that has 2 fields(cust# and item#) > > CUST# ITEM# > 1 '12a' > 1 '13a' > 2 '12a' > 3 '13a' > 4 '15a' > > If I want to select customers that have ordered item '12a' but not '13a' > How can I do this? SELECT CUST#, ITEM# FROM

RE: How can I do this SQL query

2002-05-24 Thread Bill Easton
: "Smith, Mike" <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: RE: How can I do this SQL query > Date: Thu, 23 May 2002 15:33:05 -0400 > > How can I do this SQL query > > I have a file(transfile) that has

RE: How can I do this SQL query

2002-05-23 Thread Roger Baklund
* Smith, Mike > I have a file(transfile) that has 2 fields(cust# and item#) > > CUST# ITEM# > 1 '12a' > 1 '13a' > 2 '12a' > 3 '13a' > 4 '15a' > > If I want to select customers that have ordered item '12a' but not '13a' > How ca

RE: How can I do this SQL query

2002-05-23 Thread Smith, Mike
How can I do this SQL query I have a file(transfile) that has 2 fields(cust# and item#) CUST# ITEM# 1 '12a' 1 '13a' 2 '12a' 3 '13a' 4 '15a' If I want to select customers that have ordered item '12a' but not '13