Antoine MBZH Posted 9 hours ago Share Posted 9 hours ago Bonjour, Est ce que quelqu'un peut me faire une requête SQL pour un export du catalogue comprenant ces infos svp ? - ID du produit - Description du produit (mais sans les balises HTML) - Le code EAN du produit - La marque du produit Merci d'avance Link to comment Share on other sites More sharing options...
Eolia Posted 5 hours ago Share Posted 5 hours ago A adapter suivant votre préfixe et votre id_lang: SELECT p.id_product, p.ean13, m.name, ExtractValue(pl.description, '//text()') as description FROM `ps_product`p INNER JOIN `ps_product_lang`pl ON(pl.id_product = p.id_product AND pl.id_lang = 1) INNER JOIN `ps_manufacturer`m ON(m.id_manufacturer = p.id_manufacturer) 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