Re: Yet another LEFT JOIN question

2004-12-06 Thread Bill Easton
> To: "Bill Easton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 06, 2004 11:05 AM Subject: Re: Yet another LEFT JOIN question > > If you are using 4.1 or later, you could do a subquery to count the > > clicks, > > then left join that w

Re: Yet another LEFT JOIN question

2004-12-06 Thread Ron Gilbert
do a subquery to count the clicks, then left join that with the views. HTH Bill From: Ron Gilbert <[EMAIL PROTECTED]> Subject: Yet another LEFT JOIN question Date: Sat, 4 Dec 2004 12:08:43 -0800 I have three tables, 'Ads' is a list of ads, 'Clicks' is a simple list of

Yet another LEFT JOIN question

2004-12-06 Thread Bill Easton
t the clicks, then left join that with the views. HTH Bill From: Ron Gilbert <[EMAIL PROTECTED]> Subject: Yet another LEFT JOIN question Date: Sat, 4 Dec 2004 12:08:43 -0800 I have three tables, 'Ads' is a list of ads, 'Clicks' is a simple list of every time a Ad was

RE: Yet another LEFT JOIN question

2004-12-06 Thread Gordon
: Ron Gilbert [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 2:09 PM To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Subject: Yet another LEFT JOIN question I have three tables, 'Ads' is a list of ads, 'Clicks' is a simple list of every time a Ad was

Yet another LEFT JOIN question

2004-12-04 Thread Ron Gilbert
I have three tables, 'Ads' is a list of ads, 'Clicks' is a simple list of every time a Ad was clicked on with the Ads ID, and 'Views' is a simple list of views that ad got, with the Ads ID. I am trying to SELECT a list of all the ads, with a count for clicks and a count for views, but my LEFT J