Viewing 7 posts - 1 through 7 (of 7 total)
Brilliant, thanks very much.
I tweaked the query an extra little bit and made sure that there were no inner joins at all in the query, and hey presto I have...
March 24, 2014 at 11:05 am
Thanks for your post, and the link to the article.
I've tried your suggestion, but its not making much difference to the results that are being returned. I'm expecting around...
March 24, 2014 at 8:37 am
I have been asked to provide another report very similar to the one above. Its on the same table so the structure is the same.
Whereas the first report was...
August 16, 2012 at 8:36 am
Ooooh, that's brilliant! I'm great at writing loops at the best of times so this is fantastic.
Thanks v much
July 31, 2012 at 9:09 am
I've added in the top 10 but the query still needs a bit of tweaking
The query below lists the top 10 for the first branch, whereas I want it to...
July 11, 2012 at 4:05 am
Thanks - v helpful.
If I want to select just the top 10 clients in terms of costs billed/branch (top ten clients in branch 1, top ten in branch 2, etc),...
July 10, 2012 at 6:27 am
Thanks very much for your help - I'm fairly new to SQL so I didn't know there is such a thing as 'HAVING', and it does the job perfectly.
Thanks again
May 3, 2012 at 6:39 am
Viewing 7 posts - 1 through 7 (of 7 total)