SELECT SQL_CALC_FOUND_ROWS 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 (
SELECT product_id, category_id
FROM dtb_product_categories
WHERE category_id =392
)AS pcat
LEFT JOIN dtb_products AS p ON p.product_id = pcat.product_id
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-27 04:40:55')
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 MAX(price02) DESC
LIMIT 0, 120
45397 Zephyren (ゼファレン) 2019 福袋 -NEW YEAR BAG-
54987 Zephyren(ゼファレン)STUDIUM JACKET - As above,So below - WHITE
54989 Zephyren(ゼファレン)STUDIUM JACKET - As above,So below - BLACK / BLACK
54985 Zephyren(ゼファレン)TRENCH COAT BLACK
54986 Zephyren(ゼファレン)TRENCH COAT TWEED
50655 Zephyren(ゼファレン) LONG COAT GREEN
54955 Zephyren(ゼファレン)LONG COAT - ビレッジマンズストア × Zephyren - BLACK
54956 Zephyren(ゼファレン)LONG COAT - ビレッジマンズストア × Zephyren - ZEBRA
54967 Zephyren(ゼファレン)WIDE TAILORD JACKET BLACK
54968 Zephyren(ゼファレン)WIDE TAILORD JACKET TWEED
59459 Zephyren(ゼファレン) WIDE TAILORD JACKET BLACK / CHECK
59479 Zephyren(ゼファレン) STUDIUM JACKET MIX
59491 【予約商品】Zephyren(ゼファレン) LONG COAT RED / CHECK
50522 Zephyren(ゼファレン) MA-1 BLACK
59438 Zephyren(ゼファレン) DENIM JKT - Victoria - BLACK / BLACK
59440 Zephyren(ゼファレン) DENIM JKT - Victoria - INDIGO / BLACK
59480 Zephyren(ゼファレン) FUR COAT BLACK
59481 Zephyren(ゼファレン) FUR COAT BROWN
61271 Zephyren 2022 NEW YEAR BAG
19282 ZEPHYREN (ゼファレン) STUDIUM JKT -SKULL HEAD- BLACK
19285 ZEPHYREN (ゼファレン) STUDIUM JKT -EMBLEM- BLACK
19286 ZEPHYREN (ゼファレン) STUDIUM JKT -EMBLEM - BURGUNDY
59428 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - BLACK
59429 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - NAVY / WHITE
59432 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - L.PINK
54973 Zephyren(ゼファレン)SWITCHING MA-1 - Resolve - MIX I
54974 Zephyren(ゼファレン)SWITCHING MA-1 - Resolve - MIX II
45794 Zephyren(ゼファレン)MA-1 BLACK
50763 Zephyren(ゼファレン) DENIM JACKET HARD WASH / BUNNY
52436 ROTTENGRAFFTY×Zephyren 20周年限定コラボジャケット M-65 Black
52437 ROTTENGRAFFTY×Zephyren 20周年限定コラボジャケット M-65 KHAKI
54951 Zephyren(ゼファレン)MOUNTAIN PARKA - Ailiph Doepa × Zephyren - BLACK
54952 Zephyren(ゼファレン)MOUNTAIN PARKA - Ailiph Doepa × Zephyren - COLORFUL
54964 Zephyren(ゼファレン)REVERSIBLE JACKET BLACK
54966 Zephyren(ゼファレン)REVERSIBLE JACKET PAINT
54972 Zephyren(ゼファレン)SKA JUMPER - Kaleidoscope - MIX
59457 Zephyren(ゼファレン) MA-1 FLOWER
70908 優里xZEPHYREN -Betelgeuse- SOUVENIR JACKET BEIGE
70909 優里xZEPHYREN -Betelgeuse- SOUVENIR JACKET BLACK
51038 Zephyren(ゼファレン) SKA JUMPER BLACK
51040 Zephyren(ゼファレン) SKA JUMPER PAISLEY
51798 Zephyren(ゼファレン) DAMEGE JACKET CAMO
51799 Zephyren(ゼファレン) RAKUGAKI JACKET BLACK
52534 MY FIRST STORY×Zephyren MA-1 -Captivate- CAMO
52535 MY FIRST STORY×Zephyren MA-1 -Captivate- BLACK
52536 MY FIRST STORY×Zephyren MA-1 -Captivate- WHITE
54953 Zephyren(ゼファレン)OME-1 - オメでたい頭でなにより × Zephyren - BLACK
54954 Zephyren(ゼファレン)OME-1 - オメでたい頭でなにより × Zephyren - KHAKI
59448 Zephyren(ゼファレン) TRENCH COAT FLOWER
66492 10-FEET×Zephyren(ゼファレン) TRACK JACET BLACK
50518 Zephyren(ゼファレン) NYLON MODS COAT BLACK
51803 Zephyren(ゼファレン) NYLON JACKET NAVY / BURGUNDY
51804 Zephyren(ゼファレン) NYLON JACKET CAMO / KHAKI
51808 Zephyren(ゼファレン) CHESTER COAT PYTHON
59444 Zephyren(ゼファレン) MA-1 Type BLOUSON FLOWER
31519 Zephyren(ゼファレン)xMY FIRST STORY STUDS TAILORD JKT -S.C.W- HEX
50372 Zephyren(ゼファレン) BIG JERSEY BLACK / apocalypse
50373 Zephyren(ゼファレン) BIG JERSEY BLACK
50374 Zephyren(ゼファレン) BIG JERSEY BLACK / MIX
70703 MY FIRST STORY×Zephyren - Fight Back 23 - STUDIUM JACKET BLACKxWHITE
46184 Zephyren(ゼファレン)MODS COAT KHAKI
50212 Zephyren(ゼファレン) MODS COAT - oldschool - BLACK
50213 Zephyren(ゼファレン) MODS COAT - oldschool - KAHKI
45527 Zephyren(ゼファレン)MOUNTAIN PARKA BLACK
27068 Zephyren (ゼファレン) MELTON JKT BLACK
35739 Zephyren (ゼファレン) LEATHER HOODY WHITE
35741 Zephyren (ゼファレン) BIG MA-1 BLACK
35742 Zephyren (ゼファレン) BIG MA-1 KHAKI
27034 Zephyren (ゼファレン) LONG MA-1 BLACK
27031 Zephyren (ゼファレン) MA-1 BLACK
54988 Zephyren(ゼファレン)STUDIUM JACKET - As above,So below - BLACK / WHITE
38205 Zephyren (ゼファレン) BIG HOOD MOUNTAIN PARKA WHITE
70704 MY FIRST STORY×Zephyren - Fight Back 23 - NYLON JACKET BLACK
54983 Zephyren(ゼファレン)FUR JACKET BLACK
59441 Zephyren(ゼファレン) DENIM JKT - Victoria - INDIGO/RED
22742 Zephyren (ゼファレン) SAFARI JKT BLACK x CAMO
22743 Zephyren (ゼファレン) SAFARI JKT BLACK x PAISLEY
42030 Zephyren(ゼファレン) BOA JACKET WHITE
19254 ZEPHYREN (ゼファレン) BOA JKT -EMBLEM - BLACK
19257 ZEPHYREN (ゼファレン) BOA JKT -EMBLEM - CAMOⅡ
35744 Zephyren (ゼファレン) LONG SKA JUMPER BLACKxWHITE
35745 Zephyren (ゼファレン) LONG SKA JUMPER BLACKxBLACK
35746 Zephyren (ゼファレン) BOA PONCHO JKT BLACK
42024 Zephyren(ゼファレン) BOA HOOD JACKET BLACK
19195 ZEPHYREN (ゼファレン) SWING TOP -Charmed SQ Tone - BLACK
19268 Zephyren (ゼファレン) CHESTERFIELD COAT - BLACK
19271 Zephyren (ゼファレン) CHESTERFIELD COAT - CAMOUFLAGE
45598 Zephyren(ゼファレン)DENIM JACKET HARD WASH / BANDANNA
45795 Zephyren(ゼファレン)MA-1 CAMO
45796 Zephyren(ゼファレン)MA-1 MIX
45797 Zephyren(ゼファレン)SKA JUMPER PAISLEY
45798 Zephyren(ゼファレン)SKA JUMPER RED
22517 Zephyren (ゼファレン) SWING TOP -CHICAGO-CAMO1
22518 Zephyren (ゼファレン) SWING TOP -CHICAGO-CAMO2
41967 Zephyren(ゼファレン) DENIM JACKET HARD WASH I / BANNDANNA
41982 Zephyren(ゼファレン) MA-1 TIE DYE
41990 Zephyren(ゼファレン) SKA JUMPER BLACK/WHITE
41991 Zephyren(ゼファレン) SKA JUMPER BLUE
45790 Zephyren(ゼファレン)BANDANA MILITARY JACKET BLACK
45791 Zephyren(ゼファレン)BANDANA MILITARY JACKET CAMO
50652 Zephyren(ゼファレン) MA-1 - apocalypse - KHAKI
50653 Zephyren(ゼファレン) MA-1 - apocalypse - NAVY
51041 Zephyren(ゼファレン) MA-1 - apocalypse - WHITE
59446 Zephyren(ゼファレン) TRENCH COAT BLACK
30159 Zephyren(ゼファレン) DENIM JKT HARDWASHxPAINT
41973 Zephyren(ゼファレン) MOUNTAIN PARKA BLACK
41974 Zephyren(ゼファレン) MOUNTAIN PARKA NAVY CHECK
41975 Zephyren(ゼファレン) MOUNTAIN PARKA BURGUNDY CHECK
41984 Zephyren(ゼファレン) MILITARY JACKET BLACK
42017 Zephyren(ゼファレン) KNIT MA-1 WHITE
42018 Zephyren(ゼファレン) KNIT MA-1 BLACK
59445 Zephyren(ゼファレン) MA-1 Type BLOUSON TIEDYE
19170 Zephyren DENIM JKT - NON WASH
19182 Zephyren (ゼファレン) DENIM JKT - HARD WASH
26654 Zephyren (ゼファレン) SWITCHING SAFARI JKT -Resolve- BLACKxPAISLEY
31520 Zephyren(ゼファレン)xMY FIRST STORY STUDS TAILORD JKT -S.C.W- BLACK
32219 KEYTALK x Zephyren LONG SKA JUMPER -MUSICAHOLIC- CHRCOAL BROWN
32220 KEYTALK x Zephyren LONG SKA JUMPER -MUSICAHOLIC- NAVY
35715 Zephyren (ゼファレン) DENIM JKT NON-WASHxInhale-the-black
38509 Zephyren DENIM JKT X-WASHxTRUST