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-25 14:22:13')
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 360, 120
40049 Zephyren PONCHO TEE S/S LETTER
40059 Zephyren SWITCHING S/S TEE WHITE
40060 Zephyren SWITCHING S/S TEE BLACK
40086 Zephyren S/S TEE -BEYOND SPLASH- WHITE
40087 Zephyren S/S TEE -BEYOND SPLASH- BLACK
40094 Zephyren S/S TEE -PLEDGE- BLACK
40135 Zephyren BIG S/S TEE -TRAIL- WHITE
40136 Zephyren BIG S/S TEE -TRAIL- BLACK
40141 Zephyren FOOTBALL S/S TEE -TRAIL- BLACKxWHITE
40144 Zephyren BIG S/S TEE -SEAMLESS- BLACK
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
41082 ZEPHYREN (ゼファレン) S/S TEE -VISIONARY- PINK
42100 Zephyren(ゼファレン) S/S TEE -BEYOND- PINK
42111 Zephyren(ゼファレン) S/S TEE -DOOR- WHITE
42112 Zephyren(ゼファレン) S/S TEE -DOOR- BLACK
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
42546 S/S TEE 京都大作戦2018×Zephyren FLAMES BLACK
42551 S/S TEE 京都大作戦2018×Zephyren FLAMES BLUE TIE DYE
45397 Zephyren (ゼファレン) 2019 福袋 -NEW YEAR BAG-
45529 Zephyren(ゼファレン)S/S TEE - BEYOND PAINTED - BLACK
45530 Zephyren(ゼファレン)S/S TEE - BEYOND PAINTED - WHITE
45788 Zephyren(ゼファレン)PONCHO TEE S/S BLACK / 如意宝珠
45789 Zephyren(ゼファレン)PONCHO TEE S/S MEXICAN
45803 Zephyren(ゼファレン)DOLMAN BIG TEE S/S BLACK
45804 Zephyren(ゼファレン)DOLMAN BIG TEE S/S BLUE
45805 Zephyren(ゼファレン)DOLMAN BIG TEE S/S WHITE
46206 Zephyren(ゼファレン)BIG TEE - Cut The World - BLACK
46208 Zephyren(ゼファレン)BIG TEE - Cut The World - NAVY
46209 Zephyren(ゼファレン)BIG TEE - Cut The World - WHITE
46339 Zephyren(ゼファレン)PONCHO TEE S/S WHITE / 如意宝珠
46343 Zephyren(ゼファレン)S/S TEE - MONOLITH - BLACK
47566 Zephyren(ゼファレン)S/S TEE - INGRAIN - BLACK
47567 Zephyren(ゼファレン)S/S TEE - INGRAIN - WHITE
47568 Zephyren(ゼファレン)S/S TEE - GIRL TATTOO - BLACK
47569 Zephyren(ゼファレン)S/S TEE - GIRL TATTOO - BLACK / TIE DIE
47570 Zephyren(ゼファレン)S/S TEE - GIRL TATTOO - WHITE
47571 Zephyren(ゼファレン)S/S TEE - GRUNGE - BLACK
47572 Zephyren(ゼファレン)S/S TEE - GRUNGE - SAND
47834 Zephyren(ゼファレン)S/S TEE - GRUNGE - WHITE
48213 Zephyren(ゼファレン)DOLMAN BIG TEE S/S WHITE
48217 Zephyren(ゼファレン)TAPE BIG TEE S/S WHITE
48222 Zephyren(ゼファレン)MIX BIG TEE S/S ALOHA / MIX
48223 Zephyren(ゼファレン)MIX BIG TEE S/S COLOR / MIX
48226 Zephyren(ゼファレン)MIX BIG TEE S/S BLACK / MIX
48234 Zephyren(ゼファレン)HOCKEY SHIRT S/S WHITE
48235 Zephyren(ゼファレン)TAPE BIG TEE S/S BLACK
48236 Zephyren(ゼファレン)DOLMAN BIG TEE S/S BLACK
48237 Zephyren(ゼファレン)DOLMAN BIG TEE S/S BLUE
49805 Zephyren (ゼファレン) × ヒステリックパニック S/S TEE BLACK
49806 Zephyren (ゼファレン) × ヒステリックパニック S/S TEE S.PINK
49807 Zephyren (ゼファレン) × ヒステリックパニック S/S TEE WHITE
49948 Zephyren(ゼファレン) BIG TEE - oldschool - BLACK
49949 Zephyren(ゼファレン) BIG TEE - oldschool - SAND
50090 Zephyren (ゼファレン) S/S TEE -VISIONARY- BLACKxWHITE
50869 Zephyren(ゼファレン)S/S TEE - BEYOND PAINTED - BLUE / TIE DIE
52417 Zephyren 2020 NEW YEAR BAG
53241 Zephyren(ゼファレン)SWITCHING TEE S/S WHITE / BLACK
53253 Zephyren(ゼファレン)SWITCHING TEE S/S BLACK / GRAFFITI
53269 Zephyren(ゼファレン)DOLMAN BIG HOODY S/S RED
53291 Zephyren(ゼファレン)S/S TEE - PROVE - BLACK
53248 Zephyren(ゼファレン)PONCHO BIG STRIPE TEE S/S WHITE/BLACK
53215 Zephyren(ゼファレン)PONCHO TEE S/S BLACK
55042 Zephyren(ゼファレン)S/S TEE - VISIONARY - WHITE
22892 Zephyren (ゼファレン) THRASHER x Zephyren S/S TEE -PENETRATE- BLACK
35392 Zephyren (ゼファレン) BIG S/S TEE -ENGRAVE- BLACKxWHITE
46341 Zephyren(ゼファレン)S/S TEE - alea iacta est / milestone - BLACK
46345 Zephyren(ゼファレン)S/S TEE - MONOLITH - WHITE
52001 Zephyren(ゼファレン) S/S TEE -BEYOND- D.GREEN/WHITE
52024 Zephyren(ゼファレン) S/S TEE -Got lst Todi- WHITE