Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- p.Name,
- c.Name
- FROM
- Products p
- LEFT JOIN
- ProductCategories pc ON p.Id = pc.ProductId
- LEFT JOIN
- Categories c ON pc.CategoryId = c.Id
- ORDER BY
- p.Name, c.Name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement