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 =1
)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-20 11:59:09')
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
42546 S/S TEE 京都大作戦2018×Zephyren FLAMES BLACK
42551 S/S TEE 京都大作戦2018×Zephyren FLAMES BLUE TIE DYE
55047 Zephyren(ゼファレン)S/S TEE - VISIONARY - SKY
55063 Zephyren(ゼファレン)S/S TEE - BEYOND - AQUA
62255 Zephyren(ゼファレン) S/S TEE - VISIONARY - WHITE
62266 Zephyren(ゼファレン) S/S TEE - BEYOND - BLACK
16856 ZEPHYREN (ゼファレン) S/S TEE -THE SUN- DENIM
16861 ZEPHYREN (ゼファレン) S/S TEE -THE SUN- BLK/BGN
34062 Zephyren(ゼファレン) S/S TEE -glassy girl- WHITE
34063 Zephyren(ゼファレン) S/S TEE -glassy girl- BLACK×COLOR
34068 Zephyren(ゼファレン) S/S TEE -melt hand- WHITE
34069 Zephyren(ゼファレン) S/S TEE -melt hand- BLACK×WHITE
34070 Zephyren(ゼファレン) S/S TEE -melt hand- BLACK×RED
34071 Zephyren(ゼファレン) S/S TEE -melt hand- BURGUNDY
34931 Zephyren (ゼファレン) S/S TEE -THORN CROSS- WHITE
34932 Zephyren (ゼファレン) S/S TEE -THORN CROSS- BLACKxWHITE
34933 Zephyren (ゼファレン) S/S TEE -THORN CROSS- BLACKxTURQUOISE
34934 Zephyren (ゼファレン) S/S TEE -THORN CROSS- BLUExYELLOW
42540 Zephyren(ゼファレン) S/S TEE 京都大作戦2018×Zephyren 鵺 BLACK
42541 Zephyren(ゼファレン) S/S TEE 京都大作戦2018×Zephyren 鵺 WHITE
42542 Zephyren(ゼファレン) S/S TEE 京都大作戦2018×Zephyren 鵺 RED
42544 Zephyren(ゼファレン) S/S TEE 京都大作戦2018×Zephyren 鵺 BLACK TIE DYE
42545 Zephyren(ゼファレン) S/S TEE 京都大作戦2018×Zephyren 鵺 BLUE TIE DYE
40853 Zephyren MY FIRST STORY x A.V.E.S.T S/S TEE BLACK
40854 Zephyren ヒステリックパニック x A.V.E.S.T S/S TEE BLACK
40855 Zephyren a crowd of rebellion x A.V.E.S.T S/S TEE BLACK
40856 Zephyren バンドじゃないもん x A.V.E.S.T S/S TEE BLACK
40857 Zephyren PassCode x A.V.E.S.T S/S TEE BLACK
52037 Zephyren(ゼファレン) BIG S/S TEE -VISIONARY/zebra eye- BLACK
18136 ZEPHYREN (ゼファレン) S/S TEE -10-FEET BUR
18137 ZEPHYREN (ゼファレン) S/S TEE -10-FEET BLK
18138 ZEPHYREN (ゼファレン) S/S TEE -10-FEET WHI
18139 ZEPHYREN (ゼファレン) S/S TEE -10-FEET BLK/BUR
18140 ZEPHYREN (ゼファレン) S/S TEE -ROTTENGRAFFTY BLK
18142 ZEPHYREN (ゼファレン) S/S TEE -ROTTENGRAFFTY BLK/BUR
25107 Zephyren (ゼファレン) MEANINGxZephyren S/S TEE -Precious-
15223 ZEPHYREN (ゼファレン) TEE S/S -VISONARY- BLK×GLD
15617 ZEPHYREN (ゼファレン) TEE S/S -Determination- WHT
57469 Zephyren(ゼファレン) DOLMAN BIG TEE S/S BLACK / NEVER say NEVER
57484 Zephyren(ゼファレン) DOLMAN BIG TEE S/S - 冥 - BLACK
15213 ZEPHYREN (ゼファレン) TEE S/S -Script- WHT
15214 ZEPHYREN (ゼファレン) TEE S/S -Script- BLK×WHT
15215 ZEPHYREN (ゼファレン) TEE S/S -Script- BLK×BGN
15218 ZEPHYREN (ゼファレン) TEE S/S -Skull head- BLK×BGN
15219 ZEPHYREN (ゼファレン) TEE S/S -Skull head- DNM
15227 ZEPHYREN (ゼファレン) TEE S/S -BEYOND- BLK×GLD
17017 ZEPHYREN (ゼファレン) S/S TEE -Script- - BLACK×GOLD
17019 ZEPHYREN (ゼファレン) S/S TEE -Script- - BURGUNDY
17020 ZEPHYREN (ゼファレン) S/S TEE -Script- - GRAY
17021 ZEPHYREN (ゼファレン) S/S TEE -SKULL HEAD- - WHITE
17032 ZEPHYREN (ゼファレン) S/S TEE -BEYOND- - BURGUNDY
17039 ZEPHYREN (ゼファレン) S/S TEE -Charmed SQ tone- WHITE
17040 ZEPHYREN (ゼファレン) S/S TEE -Charmed SQ tone- BLACK WHITE
17041 ZEPHYREN (ゼファレン) S/S TEE -Charmed SQ tone- BLACK×BURGUNDY
17042 ZEPHYREN (ゼファレン) S/S TEE -Charmed SQ tone- GRAY
17043 ZEPHYREN (ゼファレン) S/S TEE -Charmed SQ tone- BURGUNDY
17052 ZEPHYREN (ゼファレン) S/S TEE -NEVER DESPAIR- - BLACK×WHITE
17053 ZEPHYREN (ゼファレン) S/S TEE -NEVER DESPAIR - BLACK×BURGUNDY
17056 ZEPHYREN (ゼファレン) S/S TEE -NEVER DESPAIR - NAVY
17089 Zephyren VNECK S/S -Resolve- - WHITE
17090 Zephyren VNECK S/S -Resolve- - BLACK
17099 ZEPHYREN (ゼファレン) VNECK POCKET TEE S/S -PAISLEY- WHITE
17100 ZEPHYREN (ゼファレン) VNECK POCKET TEE S/S -PAISLEY- BLACK
17101 ZEPHYREN (ゼファレン) VNECK POCKET TEE S/S -PAISLEY- GRAY
17141 ZEPHYREN (ゼファレン) S/S-TEE -TIE DYE SKULL HEAD- WHITE
17142 ZEPHYREN (ゼファレン) S/S-TEE -TIE DYE SKULL HEAD- BLACK
17144 ZEPHYREN (ゼファレン) S/S-TEE -TIE DYE SKULL HEAD- BURGUNDY
17153 ZEPHYREN (ゼファレン) S/S-TEE -PATTERNED VISIONARY- WHITE
17154 ZEPHYREN (ゼファレン) S/S-TEE -PATTERNED VISIONARY- BLACK
17156 ZEPHYREN (ゼファレン) S/S-TEE -PATTERNED VISIONARY- DENIM
17166 ZEPHYREN (ゼファレン) S/S-TEE -reaper- WHITE
17167 ZEPHYREN (ゼファレン) S/S-TEE -reaper- BLACK
18165 ZEPHYREN (ゼファレン) TEE S/S -VISONARY- BGN
18949 ZEPHYREN (ゼファレン) VNECK POCKET TEE S/S -PAISLEY- BLK/MLT
21389 ZEPHYREN (ゼファレン) VNECK TEE -SKULL HEAD- WHITE
22894 Zephyren (ゼファレン) S/S TEE -BEYOND- CHACOAL
23262 Zephyren (ゼファレン) S/S TEE -VISIONARY- BLACK/RED
23265 Zephyren (ゼファレン) S/S TEE -VISIONARY- GRAY
23268 Zephyren (ゼファレン) S/S TEE -SKULL HEAD- CHACOAL
23269 Zephyren (ゼファレン) VNECK TEE -VISIONARY- WHITE
23271 Zephyren (ゼファレン) VNECK TEE -VISIONARY- BLACK
23273 Zephyren (ゼファレン) VNECK TEE -VISIONARY- GRAY
24396 Zephyren (ゼファレン) S/S TEE -DAWN- WHITE
24397 Zephyren (ゼファレン) S/S TEE -DAWN- BLACK
24398 Zephyren (ゼファレン) S/S TEE -DAWN- BLACK/RED
24709 Zephyren (ゼファレン) PAISLEY POCKET TEE WHITE
24710 Zephyren (ゼファレン) PAISLEY POCKET TEE GRAY
24711 Zephyren (ゼファレン) PAISLEY POCKET TEE NAVY
24719 Zephyren (ゼファレン) S/S TEE -ALCHEMY- WHITE
24721 Zephyren (ゼファレン) S/S TEE -REBEL FLAG- WHITE
24722 Zephyren (ゼファレン) S/S TEE -REBEL FLAG- BLACK
24732 Zephyren (ゼファレン) PATCH S/S TEE -VISIONARY- WHITE
24940 Zephyren (ゼファレン) S/S TEE -VISIONARY- NAVY
24941 Zephyren (ゼファレン) S/S TEE -VISIONARY- BLUE
24942 Zephyren (ゼファレン) S/S TEE -BEYOND- BLUE
24944 Zephyren (ゼファレン) S/S TEE -PAISLEY- WHITE
24945 Zephyren (ゼファレン) S/S TEE -PAISLEY- BLACKxWHITE
24946 Zephyren (ゼファレン) BIG S/S TEE -SPADE- WHITE
24947 Zephyren (ゼファレン) BIG S/S TEE -SPADE- BLACKxWHITE
24948 Zephyren (ゼファレン) BIG S/S TEE -SPADE- BLACKxBLACK
24952 Zephyren (ゼファレン) PAISLEY NECK S/S TEE WHITE
24953 Zephyren (ゼファレン) PAISLEY NECK S/S TEE BLACK
24954 Zephyren (ゼファレン) PAISLEY NECK S/S TEE GRAY
24955 Zephyren (ゼファレン) PAISLEY NECK S/S TEE BURGUNDY
25063 Zephyren (ゼファレン) S/S TEE -SKULL HEAD- BLACKxBLACK
25065 Zephyren (ゼファレン) S/S TEE -REBEL FLAG- BLUE
25069 Zephyren (ゼファレン) S/S TEE -CAMOUFLAGE SKULL HEAD- WHITE
25071 Zephyren (ゼファレン) S/S TEE -Sing as pray- WHITE
25073 Zephyren (ゼファレン) S/S TEE -Sing as pray- BLACKxRED
25074 Zephyren (ゼファレン) VNECK S/S -PAISLEY- WHITE
25075 Zephyren (ゼファレン) VNECK S/S -PAISLEY- BLACKxWHITE
25076 Zephyren (ゼファレン) VNECK S/S -PAISLEY- BLACKxBLACK
25103 Zephyren (ゼファレン) PAISLEY POCKET S/S TEE -Flow- BLACKxBLACK PAISLEY
26234 Zephyren (ゼファレン) S/S TEE -Zion- WHITE
26235 Zephyren (ゼファレン) S/S TEE -Zion- BLACKxWHITE
26236 Zephyren (ゼファレン) S/S TEE -Zion- BLACKxRED
26239 Zephyren (ゼファレン) S/S TEE -Zion- BLUE
26240 Zephyren (ゼファレン) S/S TEE -SCULPTURE- WHITE
26241 Zephyren (ゼファレン) S/S TEE -SCULPTURE- BLACK
26242 Zephyren (ゼファレン) S/S TEE -Soldier- WHITE