Re: Query Possible

2004-07-24 Thread Mike Blezien
Michael Stassen wrote: First, I think the LEFT JOIN is unnecessary. Rows in members without a corresponding row in active will not have acct_days>0 (it'll be NULL), so, by using LEFT JOIN you are (possibly) creating rows only to discard them. I think a simple join will do. You want a multi-ta

Re: Query Possible

2004-07-24 Thread Michael Stassen
First, I think the LEFT JOIN is unnecessary. Rows in members without a corresponding row in active will not have acct_days>0 (it'll be NULL), so, by using LEFT JOIN you are (possibly) creating rows only to discard them. I think a simple join will do. You want a multi-table update: UPDATE me