Beginner to eav model,I am having an entity table,attribute table and value table.
For same entity_id and attribute_id I have multiple values.
this causes duplicates in eav table.how to populate the data
EAV- it's an anti-pattern! Check out this, and this. There is only one major commercial system that uses it (Magento) and that's for a very particular use case - fashion (and, even then, I think they shouldn't have used EAV - personal opinion). As a basic first principle of db design - every entity should be a table of its own!