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-03-28 19:17:39')
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)
LIMIT 0, 120
26704 Zephyren (ゼファレン) RAIN COAT -BEYOND- BLACK
15205 ZEPHYREN (ゼファレン) NYLON STADIUM JKT -skull head- BLK
22522 Zephyren (ゼファレン) NYLON STADIUM JKT -BEYOND- BGN
22540 Zephyren (ゼファレン) COACH JKT -EMBLEM- BLACK/BLACK
26695 Zephyren (ゼファレン) NYLON STUDIUM JKT -SPADE- BLACK
26697 Zephyren (ゼファレン) NYLON STUDIUM JKT -SPADE- GREEN
26698 Zephyren (ゼファレン) NYLON STUDIUM JKT -SPADE- BURGUNDY
30187 Zephyren(ゼファレン) HOOD COACH JKT -ENGRAVE- BLACKxWHITE
35337 Zephyren (ゼファレン) HOOD COACH JKT -ENGRAVE- BLACKxBLACK
59442 Zephyren(ゼファレン) MA-1 Type BLOUSON BROWN / PAISLEY
41968 Zephyren(ゼファレン) DENIM JACKET HARD WASH II / BANNDANNA
54970 Zephyren(ゼファレン)SKA JUMPER - Kaleidoscope - BLACK
59456 Zephyren(ゼファレン) MA-1 BLACK
59431 Zephyren(ゼファレン) REVERSIBLE SKA JUMPER - MY FIRST STORY - KHAKI
54982 Zephyren(ゼファレン)FUR JACKET WHITE
59439 Zephyren(ゼファレン) DENIM JKT - Victoria - BLACK / RED
59458 Zephyren(ゼファレン) WIDE TAILORD JACKET BLACK
59461 Zephyren(ゼファレン) WIDE TAILORD JACKET FLOWER
59488 Zephyren(ゼファレン) LONG COAT BLACK
59490 Zephyren(ゼファレン) LONG COAT D.GREEN / CHECK
30161 Zephyren(ゼファレン) DENIM SWEAT RIDERS JKT BLACK
30162 Zephyren(ゼファレン) DENIM SWEAT RIDERS JKT INDIGO
33372 Zephyren (ゼファレン) SUMMER KNIT MA-1 S/S NAVY
35318 Zephyren (ゼファレン) BANDANA MA-1 -Inhale the black- KHAKI
38220 Zephyren (ゼファレン) BANDANA MA-1 -TRUST- KHAKI
45528 Zephyren(ゼファレン)MOUNTAIN PARKA NAVY
28768 Zephyren(ゼファレン) MY FIRST STORY x Zephyren MA-1 -S.C.W- BLACK
28769 Zephyren(ゼファレン) MY FIRST STORY x Zephyren MA-1 -S.C.W- CAMO
30146 Zephyren(ゼファレン) RIB JKT -CocaCola- WHITE
30147 Zephyren(ゼファレン) RIB JKT -CocaCola- BLACK
30165 Zephyren(ゼファレン) PONCHO JKT PAISLEY
35363 Zephyren (ゼファレン) MA-1 BLACK-ENGRAVE
42015 Zephyren(ゼファレン) MA-1 -PLEDGE- BLACK
42016 Zephyren(ゼファレン) MA-1 -PLEDGE- KHAKI
46183 Zephyren(ゼファレン)MODS COAT BLACK
26641 Zephyren (ゼファレン) DENIM JKT ONEWASH
30158 Zephyren(ゼファレン) DENIM JKT HARDWASH
30164 Zephyren(ゼファレン) PONCHO JKT CAMO
35718 Zephyren (ゼファレン) SWING TOP -Inhale the black- BLACK
35719 Zephyren (ゼファレン) SWING TOP -Inhale the black- KHAKI
35734 Zephyren (ゼファレン) PONCHO JKT BLACK
38209 Zephyren (ゼファレン) LONG TAPE JERSEY BLACKxWHITE
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
38511 Zephyren DENIM JKT NON WASHxTRUST
41977 Zephyren(ゼファレン) SWING TOP BLACK/PRAY
41978 Zephyren(ゼファレン) SWING TOP BLACK / In hale the 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
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
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
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
22742 Zephyren (ゼファレン) SAFARI JKT BLACK x CAMO
22743 Zephyren (ゼファレン) SAFARI JKT BLACK x PAISLEY
42030 Zephyren(ゼファレン) BOA JACKET WHITE
54983 Zephyren(ゼファレン)FUR JACKET BLACK
59441 Zephyren(ゼファレン) DENIM JKT - Victoria - INDIGO/RED
38205 Zephyren (ゼファレン) BIG HOOD MOUNTAIN PARKA WHITE
70704 MY FIRST STORY×Zephyren - Fight Back 23 - NYLON JACKET BLACK
27031 Zephyren (ゼファレン) MA-1 BLACK
54988 Zephyren(ゼファレン)STUDIUM JACKET - As above,So below - BLACK / WHITE
27034 Zephyren (ゼファレン) LONG MA-1 BLACK
35739 Zephyren (ゼファレン) LEATHER HOODY WHITE
35741 Zephyren (ゼファレン) BIG MA-1 BLACK
35742 Zephyren (ゼファレン) BIG MA-1 KHAKI
27068 Zephyren (ゼファレン) MELTON JKT BLACK
45527 Zephyren(ゼファレン)MOUNTAIN PARKA BLACK
46184 Zephyren(ゼファレン)MODS COAT KHAKI
50212 Zephyren(ゼファレン) MODS COAT - oldschool - BLACK
50213 Zephyren(ゼファレン) MODS COAT - oldschool - KAHKI
70703 MY FIRST STORY×Zephyren - Fight Back 23 - STUDIUM JACKET BLACKxWHITE
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
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
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