ENTITY
*Product_category(ID,Category_Name)
*Product_Master(ID,Product_name,Category_ID)
*Product_Tag(Product_ID,TAG) Eg:tag(comma separate)
Using this kind of tables
using product name
*Select * from Product_Master where Product_name like '%<Search Word>%'
Using product category
*select * from product_master pr,Product_category pc
Where pr.Category_ID=pc.ID
and pc.Category_Name like '%<Search Word>%'
Using Tag
select * from product_master pr,Product_category pc,Product_Tag pt
Where pr.Category_ID=pc.ID
AND pr.ID=pt.Product_ID
and pt.TAG like '%<Search Word>%'
මේක මචන් simple විදියට ලිවේ ඖලක් තියේනම් PM කරනන