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-05-16 12:48:17')
AND ( p.sales_end_datetime IS NULL AND p.deliv_date_id != 9 )
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) DESC
LIMIT 180, 60
65988 PUNK DRUNKERS (パンクドランカーズ) 寅ブッシュパンツ - BLACK
62742 PUNK DRUNKERS あいつロールトップ バックパック - BLACK
70247 PUNK DRUNKERS(パンクドランカーズ) PDSメッセンジャーBAG BLACK
54901 PUNK DRUNKERS ニャー財布 - BLACK
54902 PUNK DRUNKERS ニャー財布 - BLUE
66085 PUNK DRUNKERS (パンクドランカーズ) 集合二つ折り財布 - BLACK
66086 PUNK DRUNKERS (パンクドランカーズ) 集合二つ折り財布 - COLORFUL
56653 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズTEE - BLACK
56654 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズTEE - ASH
56655 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズTEE - LT.GREEN
59965 PUNK DRUNKERS [PDSxSTline]パンクドグローブ - BLACK
53988 PUNK DRUNKERS 2020BIG.TEE BLACK
56682 PUNK DRUNKERS [PDSxGODZILLA]メカゴジラCAP - BLACK
65990 PUNK DRUNKERS (パンクドランカーズ) 鮫人テーパードデニム - INDIGO
58204 PUNK DRUNKERS タイダイマッポTEE - GREEN/YELLOW
58205 PUNK DRUNKERS タイダイマッポTEE - PINK/PURPLE
62654 PUNK DRUNKERS PDベースボールシャツ - BLUE
64434 PUNK DRUNKERS アローンロンTEE - S.PINK
64435 PUNK DRUNKERS アローンロンTEE - S.GREEN
54779 PUNK DRUNKERS チャイナコーチJKT - BLACK
62670 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこTEE - GREEN
64448 PUNK DRUNKERS おねだん異常コーデュロイCAP - NAVY
66011 PUNK DRUNKERS (パンクドランカーズ) [PDSxワニワニパニック]まいったスゴイ!ロンTEE - BLACK
69857 PUNK DRUNKERS(パンクドランカーズ) [PDSxたまごっち]あいつっちロンTEE - WHITE
69858 PUNK DRUNKERS(パンクドランカーズ) [PDSxたまごっち]あいつっちロンTEE - D.YELLOW
70221 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ロンTEE WHITE
70222 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ロンTEE BLACK
70548 PUNK DRUNKERS (パンクドランカーズ) [PDSxREALHEAD]エイリマンとアイツロンTEE BLACK
70549 PUNK DRUNKERS (パンクドランカーズ) [PDSxREALHEAD]エイリマンとアイツロンTEE D.GREEN
64406 PUNK DRUNKERS [ボンバーマンxPDS]ボンバーマン刺繍パーカー - BLACK
64408 PUNK DRUNKERS [PDSx高須クリニック]高須ボックスロゴパーカー - BLACK
64409 PUNK DRUNKERS [PDSx高須クリニック]高須ボックスロゴパーカー - M.GRAY
66005 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこトレーナー - GREEN/YELLOW
61001 PUNK DRUNKERS あいつネックレス - GOLD
61002 【予約商品】PUNK DRUNKERS あいつネックレス - SILVER
64432 PUNK DRUNKERS [PDSx高須クリニック]YES!高須クリニックロンTEE - WHITE
69198 PUNK DRUNKERS(パンクドランカーズ) 危ない女BIGロンTEE WHITE
69199 PUNK DRUNKERS(パンクドランカーズ) 危ない女BIGロンTEE BLACK
69861 PUNK DRUNKERS(パンクドランカーズ) 視力検査BIGロンTEE - WHITE
69862 PUNK DRUNKERS(パンクドランカーズ) 視力検査BIGロンTEE - BLACK
69863 PUNK DRUNKERS(パンクドランカーズ) PUNKDS IS NOT DEADラグランロンTEE - BLACK
54898 PUNK DRUNKERS PCめがね'20AW - GRAY
54899 PUNK DRUNKERS PCめがね'20AW - ベッコウ
58178 PUNK DRUNKERS 豹柄ショーツ - GRAY
59136 PUNK DRUNKERS [PDSxPAC-MAN]GAMER.CAP - BLACK
59959 PUNK DRUNKERS PCめがね21AW - GRAY
66016 PUNK DRUNKERS (パンクドランカーズ) ゴロゴロンTEE - WHITE
66017 PUNK DRUNKERS (パンクドランカーズ) ゴロゴロンTEE - BLACK
66053 PUNK DRUNKERS (パンクドランカーズ) 肉P.CAP - NAVY
69200 PUNK DRUNKERS(パンクドランカーズ) 双頭ベアロンTEE WHITE
69201 PUNK DRUNKERS(パンクドランカーズ) 双頭ベアロンTEE BLUE
62719 PUNK DRUNKERS (パンクドランカーズ) 健康ランドスウェットショーツ - BLACK
62716 PUNK DRUNKERS (パンクドランカーズ) 心電図ナイロンショーツ - BLACK
64221 TOY MACHINE×PUNK DRUNKERS AITSU AND FIST NYLON HAT - BLACK
54062 PUNK DRUNKERS [PDSxくっきー!]歯ポケロンTEE - BLACK
54063 PUNK DRUNKERS [PDSxくっきー!]歯ポケロンTEE - N.ORANGE
54861 PUNK DRUNKERS [PDSxTHUNDERBOX]NOW TOKYOロンTEE - WHITE
54862 PUNK DRUNKERS [PDSxTHUNDERBOX]NOW TOKYOロンTEE - BLACK
56645 PUNK DRUNKERS [PDSxGODZILLA]ゴジラからあいつロンTEE - BLACK
56646 PUNK DRUNKERS [PDSxGODZILLA]ゴジラからあいつロンTEE - KHAKI