I want to get product name and it's image url from the database in single query. I am using following query. I am able to get product name using attribute_id 73
but i have problem to fetch image name using attribute_id 88
.
Query
select product.value as name from catalog_product_entity_varchar as product join catalog_category_product as category on product.entity_id=category.product_id where product.store_id=0 and product.attribute_id=73 and product.attribute_id=88 and category.category_id=3
and attribute_id=88
in where clause it gives empty result.