u
This commit is contained in:
@@ -26,7 +26,7 @@ FROM (
|
|||||||
|
|
||||||
UNION
|
UNION
|
||||||
|
|
||||||
SELECT c.category_id AS categoryId
|
SELECT c.root_category_id AS categoryId
|
||||||
FROM pic p
|
FROM pic p
|
||||||
INNER JOIN brandpic bp ON bp.pic_id = p.id
|
INNER JOIN brandpic bp ON bp.pic_id = p.id
|
||||||
INNER JOIN brand b ON b.id = bp.brand_id
|
INNER JOIN brand b ON b.id = bp.brand_id
|
||||||
|
|||||||
Reference in New Issue
Block a user