Please help me in grouping say for example I have 10 products in one table & it has almost 92 parts in the other table & 92 lines of details in 3rd table.
without passing parameters from outside stored procedure for product id, I want each product to have its related part beneath it & then the corresponding line items.
finally, these results will show in Json blocks.
please help
Palak Mahajan45 reputationPosted Sep 18, 2021, 2:55 PM EDT
Hello You can try joins and Group by. First apply joins to get all the data in one temp table and then Apply group by on productid. Hope this helps.
Jignesh KumarRank #91 · 22.9K reputationPosted Sep 19, 2021, 12:15 AM EDT
r k144 reputationPosted Sep 19, 2021, 12:49 PM EDT
r k144 reputationPosted Sep 20, 2021, 8:58 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts