Laravel 3 Table Relationship

Can anyone help me how to display the product name? I have productquantity stored in my purchase record and now I want to display the product name in productquantity record. I have 3 Tables …

Join predicate order

I’m always be amused and confused(at same time) whenever I have been to asked prepare and run Join query on Sql Console. And the cause of most confusion is mainly based upon the fact whether/or not …