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 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-26 18:36:15')
AND pc.classcategory_id1 IN( 25,1,8,117,30,133,132)
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 p.update_date DESC
LIMIT 0, 120
69899 PUNK DRUNKERS(パンクドランカーズ) 北極あいつCAP - NAVY
69898 PUNK DRUNKERS(パンクドランカーズ) 北極あいつCAP - BLACK
69914 PUNK DRUNKERS(パンクドランカーズ) グレイトフルマッポボクサーパンツ - SLATE
69913 PUNK DRUNKERS(パンクドランカーズ) あみだボクサーパンツ - BLACK
71018 【予約商品】PUNK DRUNKERS コンピューターCAP - BLACK
71019 【予約商品】PUNK DRUNKERS コンピューターCAP - GRAY
71020 【予約商品】PUNK DRUNKERS 逆三角ロゴHAT - BLACK
71026 【予約商品】PUNK DRUNKERS でっけぇウエストBAG - BLACK
71029 【予約商品】PUNK DRUNKERS [PDSx円谷プロ]星人顔面総柄ボクサーパンツ - NAVY
71030 【予約商品】PUNK DRUNKERS [PDSxRC]微少女ボクサーパンツ - COLORFUL
71031 【予約商品】PUNK DRUNKERS タイダイ魚ソックス - BLUE
71032 【予約商品】PUNK DRUNKERS タイダイ魚ソックス - GREEN
69912 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止ポーチ - A.GREEN
69916 PUNK DRUNKERS(パンクドランカーズ) あいつピエロボーダーソックス - REDボーダー
69915 PUNK DRUNKERS(パンクドランカーズ) あいつピエロボーダーソックス - BLACKボーダー
69917 PUNK DRUNKERS(パンクドランカーズ) 足靴下 - BLACK
69918 PUNK DRUNKERS(パンクドランカーズ) 足靴下 - GRAY
69919 PUNK DRUNKERS(パンクドランカーズ)足靴下 - YELLOW
69453 PUNK DRUNKERS (パンクドランカーズ) ひとりぼっちニットCAP
70245 PUNK DRUNKERS(パンクドランカーズ) PDロゴニットCAP WHITE
70246 PUNK DRUNKERS(パンクドランカーズ) PDロゴニットCAP BLACK
70247 PUNK DRUNKERS(パンクドランカーズ) PDSメッセンジャーBAG BLACK
68696 PUNK DRUNKERS(パンクドランカーズ) あいつとサンリオキャラクターズボクサーパンツ - BLACK
69451 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス BLACK
69450 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス GREEN
69452 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス GRAY
70550 PUNK DRUNKERS (パンクドランカーズ) ステッカー / あいつリフレクター SILVER
68713 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - GREEN
68714 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - RED
68715 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - ORANGE
68712 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - BLUE
69115 PUNK DRUNKERS(パンクドランカーズ) 飛び出しあいつ ステッカー RED
69114 PUNK DRUNKERS (パンクドラカーズ) 飛び出しあいつ ステッカー P.ORANGE
68720 PUNK DRUNKERS(パンクドランカーズ)ステッカー / 飛び出しあいつ - P.ORANGE
68721 PUNK DRUNKERS(パンクドランカーズ)ステッカー / 飛び出しあいつ - RED
67689 PUNK DRUNKERS (パンクドランカーズ) ティッシュウエストBAG - KHAKI
67695 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - TURQUOISE
67696 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - N.GREEN
67694 PUNK DRUNKERS (パンクドランカーズ) あいつライン靴下 - BLACK
67697 PUNK DRUNKERS (パンクドランカーズ) サム靴下 - ORANGE
67698 PUNK DRUNKERS (パンクドランカーズ) サム靴下 - GREEN
67713 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - GREEN
67693 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - WHITE
67712 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - RED
67688 PUNK DRUNKERS (パンクドランカーズ) ティッシュウエストBAG - BLACK
67680 PUNK DRUNKERS(パンクドランカーズ)ミラーサングラス'23SUMMER - BLUE
67681 PUNK DRUNKERS(パンクドランカーズ)ミラーサングラス'23SUMMER - GRAY
67682 PUNK DRUNKERS(パンクドランカーズ)サングラス'23SUMMER - BLACK
67711 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - BLUE
67714 PUNK DRUNKERS (パンクドランカーズ) カッティングシート / あいつ小 - WHITE
67715 PUNK DRUNKERS (パンクドランカーズ) カッティングシート / あいつ小 - BLACK
66053 PUNK DRUNKERS (パンクドランカーズ) 肉P.CAP - NAVY
66072 PUNK DRUNKERS (パンクドランカーズ) 寅靴下 - BLACK
66071 PUNK DRUNKERS (パンクドランカーズ) 寅靴下 - WHITE
66074 PUNK DRUNKERS (パンクドランカーズ) ぱんくどの湯靴下 - BLACK
66076 PUNK DRUNKERS (パンクドランカーズ) ぱんくどの湯靴下 - PURPLE
66075 PUNK DRUNKERS (パンクドランカーズ) ぱんくどの湯靴下 - N.YELLOW
66073 PUNK DRUNKERS (パンクドランカーズ) ぱんくどの湯靴下 - WHITE
66055 PUNK DRUNKERS (パンクドランカーズ) アイツちゃんCAP - LT.YELLOW
66085 PUNK DRUNKERS (パンクドランカーズ) 集合二つ折り財布 - BLACK
66054 PUNK DRUNKERS (パンクドランカーズ) アイツちゃんCAP - BLACK
66086 PUNK DRUNKERS (パンクドランカーズ) 集合二つ折り財布 - COLORFUL
64460 PUNK DRUNKERS [ボンバーマンxPDS]ミニショルダーBAG - WHITE
64483 PUNK DRUNKERS UCICカラフルソックス - BLACK
64484 PUNK DRUNKERS UCICカラフルソックス - BLUE
64485 PUNK DRUNKERS UCICカラフルソックス - GREEN
64486 PUNK DRUNKERS UCICカラフルソックス - ORANGE
64448 PUNK DRUNKERS おねだん異常コーデュロイCAP - NAVY
62750 PUNK DRUNKERS (パンクドランカーズ) タイダイクソックス - PINK
62748 PUNK DRUNKERS (パンクドランカーズ) タイダイクソックス - BLUE
62751 PUNK DRUNKERS はしごソックス - WHITE
62753 PUNK DRUNKERS 三つ目ちゃんソックス - BLUE
62754 PUNK DRUNKERS 三つ目ちゃんソックス - YELLOW
60992 PUNK DRUNKERS (パンクドランカーズ) [PDSxkiu]アイツCAMOバックパック - KHAKI
36195 PUNK DRUNKERS pd総柄ガチャベルト - カラフル
62749 PUNK DRUNKERS (パンクドランカーズ) タイダイクソックス - GREEN
62742 PUNK DRUNKERS あいつロールトップ バックパック - BLACK
62752 PUNK DRUNKERS はしごソックス - BLACK
48504 【PDS×まあたそ×ゲキクロ】りんちゃんとあいつステッカー RED
48505 【PDS×まあたそ×ゲキクロ】りんちゃんとあいつステッカー YELLOW
64220 TOY MACHINE×PUNK DRUNKERS AITSU AND SECT YING YANG MESH CAP - BLACK
64221 TOY MACHINE×PUNK DRUNKERS AITSU AND FIST NYLON HAT - BLACK
62745 【予約商品】PUNK DRUNKERS[PDSxデヴィ・スカルノ]夫人になれるハイブリットタオル - BLACK
60997 PUNK DRUNKERS ちょいまち靴下 - WHITE
60996 PUNK DRUNKERS [PDSx中華蕎麦とみ田]お品書きポーチ - BEIGE
61005 PUNK DRUNKERS 髪コーム - BLACK
60993 【予約商品】PUNK DRUNKERS [PDSxkiu]アイツCAMOバックパック - GRAY
60990 PUNK DRUNKERS サングラス'22 SPRING - YELLOW
60991 PUNK DRUNKERS サングラス'22 SPRING - PURPLE
61001 PUNK DRUNKERS あいつネックレス - GOLD
61002 【予約商品】PUNK DRUNKERS あいつネックレス - SILVER
59965 PUNK DRUNKERS [PDSxSTline]パンクドグローブ - BLACK
60998 PUNK DRUNKERS ちょいまち靴下 - BLACK
59960 PUNK DRUNKERS ギザロゴミニショルダーBAG - BLACK
59962 PUNK DRUNKERS ギザロゴミニショルダーBAG - RED
59961 PUNK DRUNKERS ギザロゴミニショルダーBAG - MINT
59966 PUNK DRUNKERS [PDSxSONIC]ソニックツシタ(靴下) - WHITE
59967 PUNK DRUNKERS [PDSxSONIC]ソニックツシタ(靴下) - BLACK
59968 PUNK DRUNKERS ギザロゴカラフルソックス - BLACK
59969 PUNK DRUNKERS ギザロゴカラフルソックス - MINT
59970 PUNK DRUNKERS ギザロゴカラフルソックス - YELLOW
59971 PUNK DRUNKERS ギザロゴカラフルソックス - PURPLE
59981 PUNK DRUNKERS [PDSxCOCALERO]コカボムあいつステッカー - GREEN/ORANGE
59951 PUNK DRUNKERS サングラス21AW - GREEN
59952 PUNK DRUNKERS サングラス21AW - BROWN
59958 PUNK DRUNKERS PCめがね21AW - BLACK
59959 PUNK DRUNKERS PCめがね21AW - GRAY
59948 PUNK DRUNKERS CAPのCAP - LT.BLUE
59947 PUNK DRUNKERS CAPのCAP - BLACK
59950 PUNK DRUNKERS ブロック風ロゴニットCAP - YELLOW
59949 PUNK DRUNKERS ブロック風ロゴニットCAP - BLACK
59136 PUNK DRUNKERS [PDSxPAC-MAN]GAMER.CAP - BLACK
58242 PUNK DRUNKERS あいつ目ウエストBAG - GRAY
58255 PUNK DRUNKERS 逃げ足靴下 - WHITE
58256 PUNK DRUNKERS 逃げ足靴下 - BLACK
58241 PUNK DRUNKERS 立ち入り禁止ガチャベルト - WHITE/BLACK
58240 PUNK DRUNKERS 立ち入り禁止ガチャベルト - YELLOW/BLACK
59140 PUNK DRUNKERS 電球あいつライトキーホルダー - BLACK
58232 PUNK DRUNKERS メタルロゴCAP - BLACK
58230 PUNK DRUNKERS スーパーPDSジェットCAP - BLACK