in reply to Re: speeding up mySQL query in .pm
in thread speeding up mySQL query in .pm
If I knew what columns belonged to which tables I might be able to offer more advice - without that information, I get a headache every time I try to visualize what's going on here...SELECT DISTINCT min(tmp.escore) as escore, tmp.org_id FROM ( SELECT id2, escore, org_id2 FROM blast, protein WHERE id1 = id AND text_id = ? UNION SELECT id1, escore, org_id1 FROM blast, protein WHERE id2 = id AND text_id = ? ) tmp GROUP BY tmp.org_id
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: speeding up mySQL query in .pm
by monktim (Friar) on Aug 15, 2003 at 13:46 UTC |