If you don't mind can you please elaborate your question? Do you mean that you wanted to know about the SP,and joins?