damdam13 Posted October 14, 2015 Share Posted October 14, 2015 Bonjour et merci pour votre contribution. J'aimerais lister toutes mes catégories pour voir celles qui n'ont pas d'images. J'ai commencé la requête...mais elle comporte des anomalies... pouvez vous svp m'aider à la corriger ? SELECTps_category.id_category,ps_category.active,`NameCategory`.`name` AS `Name`,ps_category.id_parent,`NameCategory`.description,`NameCategory`.meta_title,`NameCategory`.meta_keywords,`NameCategory`.meta_description,`NameCategory`.link_rewrite,ps_image.id_imageFROMps_category, ps_imageINNER JOIN ps_category ON ps_product.id_category_default=ps_category.id_categoryINNER JOIN ps_image ON ps_product.id_product=ps_image.id_productLEFT JOIN ps_category_lang AS `NameCategory` ON `NameCategory`.id_category = ps_category.id_categoryLEFT JOIN ps_category_lang AS `NameParent` ON `NameParent`.id_category = ps_category.id_parentORDER BY ps_category.id_category ASC Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now