Re: Multi-Table Query Problem...

2005-03-15 Thread SGreen
"Nick Zukin" <[EMAIL PROTECTED]> wrote on 03/14/2005 05:22:38 PM: > I'm trying to do a multitable query and am having problems. > > I have three tables: vendors, products, and vendorproducts. The > vendorproducts table creates a many to many relationship between the vendors > and the products. T

RE: Multi-Table Query Problem...SOLVED

2005-03-14 Thread Nick Zukin
Thanks. That was it. I'm glad it was something so simple. Just needed a careful set of eyes. I was worried my understanding of SQL/JOINs was screwy. Thanks again. Nick PS I'll read up on the FULLTEXT matching. I don't know it well. >> $query = "SELECT v.vbusiness, v.vcategory, v.vurl, v.v

Re: Multi-Table Query Problem...

2005-03-14 Thread Michael Stassen
Nick Zukin wrote: I'm trying to do a multitable query and am having problems. I have three tables: vendors, products, and vendorproducts. The vendorproducts table creates a many to many relationship between the vendors and the products. There is nothing more than the vendor and product ids in the

RE: Multi-Table Query Problem...

2005-03-14 Thread Oropeza Querejeta, Alejandro
List Asunto: Re: Multi-Table Query Problem... On Mon, 14 Mar 2005 15:12:18 -0800, Scott Klarenbach wrote > Because, with the '%keyword%' operator, you're going to match any of > those columns that contain the keyword inside of it. This can be a > little confusin

Re: Multi-Table Query Problem...

2005-03-14 Thread nick
On Mon, 14 Mar 2005 15:12:18 -0800, Scott Klarenbach wrote > Because, with the '%keyword%' operator, you're going to match any of > those columns that contain the keyword inside of it. This can be a > little confusing as 'ef' will return true on 'abcdefghijk'? Instead, > you might try 'keyword%'

Re: Multi-Table Query Problem...

2005-03-14 Thread Scott Klarenbach
Because, with the '%keyword%' operator, you're going to match any of those columns that contain the keyword inside of it. This can be a little confusing as 'ef' will return true on 'abcdefghijk'? Instead, you might try 'keyword%' so that 'apple' returns true for 'apples', 'apple juice', 'apple ci

Re: Multi-Table Query Problem...

2005-03-14 Thread Scott Klarenbach
What are the results? sk On Mon, 14 Mar 2005 14:22:38 -0800, Nick Zukin <[EMAIL PROTECTED]> wrote: > I'm trying to do a multitable query and am having problems. > > I have three tables: vendors, products, and vendorproducts. The > vendorproducts table creates a many to many relationship between

Multi-Table Query Problem...

2005-03-14 Thread Nick Zukin
I'm trying to do a multitable query and am having problems. I have three tables: vendors, products, and vendorproducts. The vendorproducts table creates a many to many relationship between the vendors and the products. There is nothing more than the vendor and product ids in the vendorproducts tab