I could hardly understand your question.
Could you please provide table structure, sample data, your query as whole, the results you get and the results you want?
I am really sorry for my poor gramma. And I hope that value of my answers will outweigh the harm for your eyes.
Blog: http://somewheresomehow.ru[/url]
Twitter: @SomewereSomehow