Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
229 B
2
Indexable
Never
SELECT DISTINCT
    products.id_product AS id_product,
    products.name AS name,
    products_stores.id_store AS id_store
FROM
    products
    LEFT JOIN products_stores ON products_stores.id_product = products.id_product;