Top "Entity-attribute-value" questions

A method of modelling and storing data by breaking it into three parts: the entities, their attributes and their values.

Magento - Retrieve products with a specific attribute value

In my block code I am trying to programmatically retrieve a list of products that have a attribute with a …

php magento e-commerce entity-attribute-value
Entity Attribute Value Database vs. strict Relational Model Ecommerce

It is safe to say that the EAV/CR database model is bad. That said, Question: What database model, technique, …

sql database design-patterns entity-attribute-value key-value
MySQL correlated subquery in JOIN syntax

I would like to provide a WHERE condition on an inner query by specifying innertable.id = outertable.id. However, MySQL (5.0.45) …

sql mysql join subquery entity-attribute-value
ALTER TABLE in Magento setup script without using SQL

Jonathon Day says "updates SHOULD NOT be in the form of SQL commands". I haven't come across any DDL or …

php sql magento installation entity-attribute-value
Modeling Product Variants

I've been trying to model product variants and thought that I might need to use EAV. I might have been …

mysql database database-design relational-database entity-attribute-value
Key/Value pairs in a database table

I need to design a Key/value table in my database and I'm looking for guidance on the best way …

sql sql-server tsql entity-attribute-value
How to pivot a MySQL entity-attribute-value schema

I need to design tables which stores all the metadata of files (i.e., file name, author, title, date created), …

mysql database-design pivot entity-attribute-value
Magento 1 - get category ID from product ID

In magento how to get the category id of each product from its product ID. $items = $request->getAllItems(); $c = …

magento entity-attribute-value magento-1.4
Designing a SQL schema for a combination of many-to-many relationship (variations of products)

I hope the title is somewhat helpful. I'm using MySQL as my database I am building a database of products …

sql schema e-commerce database-schema entity-attribute-value
Too many tables; MySQL can only use 61 tables in a join

What is the best way to export data from multiple tables in MySQL. I'm basically working with product details. Say …

mysql join entity-attribute-value