MySQL Forums
Forum List  »  Newbie

Re: SUM problem.
Posted by: Jay Alverson
Date: March 16, 2009 09:52AM

Quote

Peter Brawley Wrote:
-------------------------------------------------------
> Patric,
>
> > I hope this is what you where looking for.
>
> Alas not. To use it I'd have to derive and type
> all CREATE TABLE and INSERT statemtnts required to
> replicate your problem, so it's possible to test
> the solution I offer (for a paying client one
> would do the typing). Once again: we need the
> results of SHOW CREATE TABLE, plus actual INSERT
> statements to replicate the sample data.
>
> PB

Yes, I was kinda hoping he'd do the select for a single tourney with all the relevant fields and data (say the top 10 to 20 lines) and he could then select that data to an intermediate table.

We could then show him how to pair it down from there to get his data.

So Patrick if you think of my bowling example as the "final output" then it shows you how to summarize it as necessary.

Obviously you don't want to use extra tables all the time, so the idea is that once you understand how to pair the data down, you work the logic into the original SELECT queries and do it in first step.


>

Thanks, Jay

Options: ReplyQuote


Subject
Written By
Posted
March 12, 2009 03:29AM
March 12, 2009 09:52AM
March 13, 2009 07:10PM
March 13, 2009 11:10PM
March 14, 2009 04:01PM
March 14, 2009 06:40PM
March 15, 2009 07:54AM
March 15, 2009 10:41AM
March 15, 2009 10:35PM
March 16, 2009 09:33AM
Re: SUM problem.
March 16, 2009 09:52AM
March 16, 2009 02:46PM
March 16, 2009 04:15PM
March 17, 2009 02:11PM
March 17, 2009 05:03PM
March 17, 2009 06:31PM
March 17, 2009 10:17PM
March 18, 2009 06:03AM
March 15, 2009 05:41PM
March 15, 2009 07:14PM
March 16, 2009 08:34AM
March 18, 2009 12:52AM
March 21, 2009 05:58AM
March 21, 2009 11:13AM
March 22, 2009 05:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.