I have a bit of a complex query, wanting to fetch via direct sql :
Product ID, Title , Owner, Data2, Data3
Product ID and Title reside normally in : Nop_Product
-------------------------------------------
Owner, uses mapping that can be queried by main ProductID via - Product_Owner_Mapping
ie : Select * from Product_Owner_Mapping WHERE ProductID = '' (main product ID in original query)
This gives us OwnerID, which in turn can be mapped to Name field in another table, aptly named OwnerId
------------------------------------------
Data2 and Data3 are normal Specification Fields
Nop_Product_Specification_Mapping ProductID gives us SpecificationAttributeOptionID for each specific product
Which in turn gives us Nop_Specification_AttributeOption Name
We only need to match each product specification to a name Where Specification_AttributeID is equal to 14 or 19
This is an older install of nopcommerce - 1.9