Re: very tough query

2002-03-05 Thread Nathan
lt;[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 12:37 PM Subject: RE: very tough query Here's what happens: ERROR 1064: You have an error in your SQL syntax near ' poll_answers, poll_votes where (poll_questions.poll_id = poll_answers.poll_id) ' at line 1 -Original Mes

Re: very tough query

2002-03-05 Thread Rodney Broom
From: Daren Cotter <[EMAIL PROTECTED]> > ...what happens when I want to delete a poll? Do it machanically. That is, do a query in advance to find the data that needs to be deleted, then go through and delete it. The logic for joining a delete can be written, but MySQL doesn't support it. (Hey

RE: very tough query

2002-03-05 Thread Daren Cotter
ED]] Sent: Tuesday, March 05, 2002 8:27 AM To: [EMAIL PROTECTED] Cc: Daren Cotter Subject: Re: very tough query Hi Darren, On Tue, 5 Mar 2002 09:42:50 -0800 "Daren Cotter" <[EMAIL PROTECTED]> wrote: > mysql> desc poll_questions; > ++---

Re: very tough query

2002-03-05 Thread Batara Kesuma
Hi Darren, On Tue, 5 Mar 2002 09:42:50 -0800 "Daren Cotter" <[EMAIL PROTECTED]> wrote: > mysql> desc poll_questions; > ++-+--+-++- > ---+ > | Field | Type| Null | Key | Default| Extra > | > +

very tough query

2002-03-05 Thread Daren Cotter
ok, here are the 3 tables i have that are related: mysql> desc poll_questions; ++-+--+-++-- --+ | Field | Type| Null | Key | Default| Extra | ++-+--+-++