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-05-23 17:08:17')
AND pc.classcategory_id1 IN( 13,35,44)
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 120, 60
59539 Zephyren(ゼファレン) SWITCHING BIG SHIRT L/S MIX
59515 Zephyren(ゼファレン) DOLMAN BIG PARKA BLACK / Creux
59550 Zephyren(ゼファレン) JACQUARD CUT L/S WHITE
59551 Zephyren(ゼファレン) JACQUARD CUT L/S BLACK
59552 Zephyren(ゼファレン) JACQUARD CUT L/S BLACK / MIX
59553 Zephyren(ゼファレン) JACQUARD CUT L/S GREEN / MIX
59507 Zephyren(ゼファレン) SHIRT L/S - Resolve - BLACK / PAISLEY
59670 Zephyren(ゼファレン) EASY PANTS FLOWER
59672 Zephyren(ゼファレン) EASY PANTS 8/S GREEN CHECK
59674 Zephyren(ゼファレン) EASY PANTS 8/S FLOWER
57583 Zephyren(ゼファレン) EASY PANTS BROWN CHECK
57587 Zephyren(ゼファレン) EASY PANTS 8/S BROWN CHECK
59439 Zephyren(ゼファレン) DENIM JKT - Victoria - BLACK / RED
59599 Zephyren(ゼファレン) L/S TEE - twilight - WHITE
59600 Zephyren(ゼファレン) L/S TEE - twilight - BLACK
59603 Zephyren(ゼファレン) BIG L/S TEE - jua - WHITE
27138 Zephyren (ゼファレン) PARKA -BEYOND- WHITE
27139 Zephyren (ゼファレン) PARKA -BEYOND- BLACK
57494 Zephyren(ゼファレン) SWITCHING TEE BLACK / BORDER
57463 Zephyren(ゼファレン) PHOTO PRINT SHIRT S/S - NEVER say NEVER - BLACK / PAISLEY
59472 【予約商品】Zephyren(ゼファレン) COACH JACKET BLACK / Reverie
59475 【予約商品】Zephyren(ゼファレン) COACH JACKET BLACK / twilight
59490 Zephyren(ゼファレン) LONG COAT D.GREEN / CHECK
59546 Zephyren(ゼファレン) PAISLEY PARKA RED
59604 Zephyren(ゼファレン) BIG L/S TEE - jua - BLACK
57437 Zephyren(ゼファレン) BOWLING SHIRT- ビレッジマンズストア × Zephyren - WHITE
57438 Zephyren(ゼファレン) BOWLING SHIRT- ビレッジマンズストア × Zephyren - BLACK
57443 Zephyren(ゼファレン) EMBLEM SHIRT S/S WHITE / You are hare
57461 Zephyren(ゼファレン) PHOTO PRINT SHIRT S/S - NEVER say NEVER - WHITE
57451 Zephyren(ゼファレン) SHIRT S/S - Resolve - FLOWER
57496 Zephyren(ゼファレン) SWITCHING TEE BLACK / FLOWER
57484 Zephyren(ゼファレン) DOLMAN BIG TEE S/S - 冥 - BLACK
55063 Zephyren(ゼファレン)S/S TEE - BEYOND - AQUA
57594 Zephyren(ゼファレン) SHORTS BROWN CHECK
57590 Zephyren(ゼファレン) SAROUEL SWEAT SHORTS BLACK
57597 Zephyren(ゼファレン) DOUBLE POCKET SHORTS BLACK
57468 Zephyren(ゼファレン) DOLMAN BIG TEE S/S WHITE / NEVER say NEVER
57458 Zephyren(ゼファレン) LONG SHIRT S/S - Resolve - FLOWER
57469 Zephyren(ゼファレン) DOLMAN BIG TEE S/S BLACK / NEVER say NEVER
57598 Zephyren(ゼファレン) DOUBLE POCKET SHORTS PAISLEY
57439 Zephyren(ゼファレン) BOWLING SHIRT- ビレッジマンズストア × Zephyren - BURGUNDY
57444 Zephyren(ゼファレン) EMBLEM SHIRT S/S BLACK / You are hare
57596 Zephyren(ゼファレン) SHORTS PAISLEY
54999 Zephyren(ゼファレン)LONG SHIRT L/S FLOWER
57495 Zephyren(ゼファレン) SWITCHING TEE BLACK / PYTHON
15637 ZEPHYREN (ゼファレン) TANK TOP -BEYOND- WHT
57580 【予約商品】Zephyren(ゼファレン) KNEE CLASHED SKINNY BLACK.DENIM
57538 Zephyren(ゼファレン) S/S TEE - Melencolia - BLACK
57102 Zephyren 2021 NEW YEAR BAG
54986 Zephyren(ゼファレン)TRENCH COAT TWEED
54968 Zephyren(ゼファレン)WIDE TAILORD JACKET TWEED
55156 Zephyren(ゼファレン)WIDE SLACKS TWEED
54985 Zephyren(ゼファレン)TRENCH COAT BLACK
54967 Zephyren(ゼファレン)WIDE TAILORD JACKET BLACK
55039 Zephyren(ゼファレン)FUR PARKA WHITE
55040 Zephyren(ゼファレン)FUR PARKA BLACK
54983 Zephyren(ゼファレン)FUR JACKET BLACK
55021 Zephyren(ゼファレン)DOLMAN BIG PARKA - Kaleidoscope - MUSTARD
55020 Zephyren(ゼファレン)DOLMAN BIG PARKA - Kaleidoscope - GREEN
55019 Zephyren(ゼファレン)DOLMAN BIG PARKA - Kaleidoscope - BLACK