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-04-28 11:06:04')
AND pc.stock > 0
AND FIND_IN_SET(1, p.color)
AND p.product_id IN (SELECT product_id FROM dtb_product_categories WHERE category_id = 371)
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY MAX(price02)
LIMIT 0, 25
68720 PUNK DRUNKERS(パンクドランカーズ)ステッカー / 飛び出しあいつ - P.ORANGE
69451 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス BLACK
69917 PUNK DRUNKERS(パンクドランカーズ) 足靴下 - BLACK
69913 PUNK DRUNKERS(パンクドランカーズ) あみだボクサーパンツ - BLACK
69453 PUNK DRUNKERS (パンクドランカーズ) ひとりぼっちニットCAP
67654 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - BLACK
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
69103 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL BLACK
69108 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL BLACK
69113 PUNK DRUNKERS(パンクドランカーズ)ABCDTEE'23 / REVIVAL BLACK
69895 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - SUMI
67643 PUNK DRUNKERS(パンクドランカーズ)コミカルブラザーズBIG.TEE - BLACK
69873 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止TEE - BLACK
69875 PUNK DRUNKERS(パンクドランカーズ) [PDSxBEER]着るBEER.TEE - BLACK
58198 PUNK DRUNKERS [PDSxBLACK PEARLS]PDSロードTEE - BLACK
69877 PUNK DRUNKERS(パンクドランカーズ) マイレコメンドポケTEE - BLACK
69898 PUNK DRUNKERS(パンクドランカーズ) 北極あいつCAP - BLACK
69202 PUNK DRUNKERS(パンクドランカーズ) 3本指HAT BLACK
70548 PUNK DRUNKERS (パンクドランカーズ) [PDSxREALHEAD]エイリマンとアイツロンTEE BLACK
70220 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) PUNK ALIEN.BIGロンTEE SUMI
69840 PUNK DRUNKERS(パンクドランカーズ)IEGIスウェットパンツ - BLACK
69850 PUNK DRUNKERS(パンクドランカーズ) [PDSxBLACK PEARLS]バスケ部トレーナー - BLACK
69837 PUNK DRUNKERS(パンクドランカーズ)IEGIパーカ - BLACK
69845 PUNK DRUNKERS(パンクドランカーズ) ChantPDS.BIGパーカ - BLACK
69847 PUNK DRUNKERS(パンクドランカーズ) 必需品BIGパーカ - BLACK