I have two input parameters shopid and categoryid
I want to create a stored procedure for categoryproductlist for displaying products related to categoryid. I have a table product with columns productid , shopid , title and I have a table category with columns shopid,title,logical code, categoryid
Can anyone tell me how to write a stored procedure for categoryproductlist with these input parameters?
Have a go at this: