SELECT SQL_CALC_FOUND_ROWS p.del_flg AS new_arrival_content, p.product_id, p.main_image, p.main_list_comment, p.comment2, p.update_date, p.sub_title6, MAX(price02), MAX(price03), MAX(stock), pc.point_rate, p.sales_datetime, p.sales_end_datetime, IF(p.tweet=p.tweet, 1, 0) AS tweet, p.name, p.movie_s, GROUP_CONCAT(cc.name separator ' ') AS classlist, GROUP_CONCAT(pc.stock separator ' ') AS stocklist
FROM dtb_products AS p
LEFT JOIN dtb_products_class AS pc ON p.product_id = pc.product_id
LEFT JOIN dtb_classcategory AS cc ON pc.classcategory_id1 = cc.classcategory_id
WHERE p.product_id IS NOT NULL
AND p.del_flg !=1
AND p.status =1
AND (p.sales_end_datetime IS NULL OR p.sales_end_datetime >= '2024-04-28 17:56:59')
AND FIND_IN_SET(13, p.color)
AND p.product_id IN (SELECT product_id FROM dtb_product_categories WHERE category_id = 447)
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY p.update_date DESC
LIMIT 0, 25
61271 Zephyren 2022 NEW YEAR BAG
62200 Zephyren(ゼファレン) CHECK SHIRT S/S - Resolve - BURGUNDY
59428 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - BLACK
59429 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - NAVY / WHITE
59535 Zephyren(ゼファレン) BIG SHIRT L/S NAVY / PAISLEY
55016 Zephyren(ゼファレン)LINE PARKA - Resolve - NAVY
54998 Zephyren(ゼファレン)LONG SHIRT L/S PAINT
30786 Zephyren(ゼファレン) PAISLEY G.I BELT NAVY
19596 ZEPHYREN (ゼファレン) SKINNY - I.DENIM
52047 Zephyren(ゼファレン) CLASHED SKINNY INDIGO.DENIM
35971 Zephyren (ゼファレン) LONG G.I BELT -VISIONARY- NAVY
15974 ZEPHYREN (ゼファレン) PARKA -NEVER DESPAIR NAVY
16843 ZEPHYREN (ゼファレン) ZIP PARKA -THE SUN- NAVY
17247 ZEPHYREN (ゼファレン) B.B.CAP -Thorns fame- NAVY
17277 ZEPHYREN (ゼファレン) BUCKET HAT -VISIONARY- NAVY
19170 Zephyren DENIM JKT - NON WASH
19299 ZEPHYREN (ゼファレン) EMBLEM SHIRT L/S - NAVY/STRIPE
19372 ZEPHYREN (ゼファレン) TIE DYE TRIBAL PARKA -Resolve - NAVY
19468 ZEPHYREN (ゼファレン) L/S TEE -BEYOND - NAVY
19584 ZEPHYREN (ゼファレン) DENIM MK-Ⅰ - ONE WASH
19588 ZEPHYREN (ゼファレン) DENIM MK-Ⅱ - ONE WASH
19655 ZEPHYREN (ゼファレン) B.B.CAP -VISIONARY - NAVY
19690 ZEPHYREN (ゼファレン) BEANIE -VISIONARY - NAVY
22544 Zephyren (ゼファレン) DENIM SWEAT -HIGHEST- DENIM ZIP PARKA
22546 Zephyren (ゼファレン) DENIM SWEAT -HIGHEST- DENIM PARKA