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 (
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-05-07 07:30:04')
AND pc.classcategory_id1 IN( 159)
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, 120
62690 PUNK DRUNKERS (パンクドランカーズ) アーポくんTEE - ASH
59125 PUNK DRUNKERS[PDSxPAC-MAN]GAMER.TEE - C.BEIGE
60951 PUNK DRUNKERS [PDSxファミスタx阪神タイガース]ファミスタドランカーズTEE - BLACK
56681 PUNK DRUNKERS PT.TEE - BLACK
60973 PUNK DRUNKERS SHARK.TEE - ASH
60976 PUNK DRUNKERS PUNKS BAND.TEE - BLACK
60977 PUNK DRUNKERS PUNKS BAND.TEE - SUMI
62691 PUNK DRUNKERS (パンクドランカーズ) アーポくんTEE - SUMI
62692 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - WHITE
62694 PUNK DRUNKERS 餅つきTEE - BLACK
62695 PUNK DRUNKERS 餅つきTEE - BLUE
62677 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - WHITE
62678 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - BLACK
60952 PUNK DRUNKERS [PDSx太鼓の達人]太鼓マスターTEE - SUMI
62665 PUNK DRUNKERS[PDSxCOCALERO]八福神TEE - H.BLACK
62674 PUNK DRUNKERS (パンクドランカーズ) メニメニプリントTEE - D.H.NAVY
64216 TOY MACHINE×PUNK DRUNKERS AITSU AND TOYMONSTER IN TURTLE HEAD SS TEE - WHITE
64444 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - WHITE
64445 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - BLACK
62669 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこTEE - RED
59940 PUNK DRUNKERS [PDSxGreatMUTA]タッグTEE - D.H.NAVY
64214 TOY MACHINE×PUNK DRUNKERS AITSU AND SECT YING YANG SS TEE - WHITE
64218 TOY MACHINE×PUNK DRUNKERS SECT FROM AITSU SS TEE - WHITE
64442 PUNK DRUNKERS x TOY MACHINE 組体操TEE - SUMI
54287 PUNK DRUNKERS[PDSx片桐仁]片桐あいつTEE - SUMI
54288 PUNK DRUNKERS[PDSx片桐仁]片桐あいつTEE - PURPLE
53991 PUNK DRUNKERS ダブルベッドTEE BLACK
53992 PUNK DRUNKERS ダブルベッドTEE PURPLE
53996 PUNK DRUNKERS 聞こえないTEE'20 / REVIVAL - BLACK
54003 PUNK DRUNKERS ゲーマー少年TEE'20 / REVIVAL - D.PURPLE
54004 PUNK DRUNKERS ゲーマー少年TEE'20 / REVIVAL - SLATE
54543 PUNK DRUNKERS REAL MONSTER.TEE BLACK
54544 PUNK DRUNKERS REAL MONSTER.TEE LIME
54751 PUNK DRUNKERS イギリス人TEE BLACK
55550 PUNK DRUNKERS AITSU.TEE WHITE
55551 PUNK DRUNKERS AITSU.TEE BLACK
55809 PUNK DRUNKERS 顔コンペTEE'20 - WHITE
55810 PUNK DRUNKERS 顔コンペTEE'20 - SAND.KHAKI
56609 PUNK DRUNKERS 大統領TEE - WHITE
59134 PUNK DRUNKERS 鮫人パジャマTEE - D.YELLOW
59135 PUNK DRUNKERS 鮫人パジャマTEE - A.GREEN
60968 PUNK DRUNKERS 切断アイツTEE - S.BEIGE
60969 PUNK DRUNKERS 切断アイツTEE - A.GREEN
60972 PUNK DRUNKERS SHARK.TEE - BLACK
62688 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - WHITE
62689 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - SUMI
62693 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - BLACK
62702 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - ASH
62703 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - M.GREEN
62706 PUNK DRUNKERS (パンクドランカーズ) 24周年TEE - BLACK
66030 PUNK DRUNKERS (パンクドランカーズ) あいつを探せTEE - WHITE
66031 PUNK DRUNKERS (パンクドランカーズ) あいつを探せTEE - LT.YELLOW
66032 PUNK DRUNKERS (パンクドランカーズ) ウーパーアイーツTEE - BLACK
66040 PUNK DRUNKERS (パンクドランカーズ) 13日以外禁止TEE - BLACK
66042 PUNK DRUNKERS (パンクドランカーズ) ゆーれーTEE - BLACK
66043 PUNK DRUNKERS (パンクドランカーズ) ゆーれーTEE - PURPLE
66046 PUNK DRUNKERS (パンクドランカーズ) お米の人TEE - WHITE
66047 PUNK DRUNKERS (パンクドランカーズ) お米の人TEE - BLACK
67652 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - BLACK
67653 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - PURPLE
67656 PUNK DRUNKERS(パンクドランカーズ)昆虫採集TEE - WHITE
67660 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - WHITE
67661 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - BLACK
67664 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - RED
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
69101 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL B.PURPLE
69103 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL BLACK
69106 PUNK DRUNKERS(パンクドランカーズ)NEKOCATS.TEE'23 / REVIVAL BURGUNDY
69107 PUNK DRUNKERS(パンクドランカーズ)NEKOCATS.TEE'23 / REVIVAL BLACK
69108 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL BLACK
69109 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL SLATE
69110 PUNK DRUNKERS(パンクドランカーズ)般若スケボーTEE'23 / REVIVAL D.GREEN
69111 PUNK DRUNKERS(パンクドランカーズ)般若スケボーTEE'23 / REVIVAL SUMI
69112 PUNK DRUNKERS(パンクドランカーズ)ABCDTEE'23 / REVIVAL WHITE
69113 PUNK DRUNKERS(パンクドランカーズ)ABCDTEE'23 / REVIVAL BLACK
69890 PUNK DRUNKERS(パンクドランカーズ) 超丸尾兄弟TEE - WHITE
69892 PUNK DRUNKERS(パンクドランカーズ) ハードワーク突撃隊TEE - BLACK
69894 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - BLACK
69895 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - SUMI
70994 【予約商品】PUNK DRUNKERS スペコンライダーTEE - BLACK
70995 【予約商品】PUNK DRUNKERS スペコンライダーTEE - NAVY
70996 【予約商品】PUNK DRUNKERS カプセルTEE - ASH
70998 【予約商品】PUNK DRUNKERS グリーンTEE - OFF WHITE
71003 【予約商品】PUNK DRUNKERS 大きな小人TEE - BLACK
71007 PUNK DRUNKERS クレイジーマウスTEE - SUMI
71009 【予約商品】PUNK DRUNKERS トラック野郎TEE - BLACK
71011 【予約商品】PUNK DRUNKERS ロマンチーストTEE - BLACK
71141 【予約商品】PUNK DRUNKERS カプセルTEE - BLACK
62679 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - ORANGE
53099 PUNK DRUNKERS [PDS×仮面ライダー]仮面ライダーゼロワンTEE INDIGO
53102 PUNK DRUNKERS [PDS×仮面ライダー]仮面ライダーゼロワンTEE WHITE
54064 PUNK DRUNKERS [PDSxくっきー!]ミスティTEE - BLACK
54065 PUNK DRUNKERS [PDSxくっきー!]ミスティTEE - KHAKI
58183 PUNK DRUNKERS [PDSxぷよぷよ]あいつぷよTEE - BLACK
58184 PUNK DRUNKERS [PDSxぷよぷよ]あいつぷよTEE - A.GREEN
60953 PUNK DRUNKERS [PDSx太鼓の達人]太鼓マスターTEE - D.GREEN
60954 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - BLACK
60955 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - SLATE
62661 【予約商品】PUNK DRUNKERS[PDSxデヴィ・スカルノ]夫人からあいつTEE - BLACK
62662 PUNK DRUNKERS (パンクドランカーズ) [PDSxデヴィ・スカルノ]夫人からあいつTEE - M.GREEN
62666 PUNK DRUNKERS[PDSxCOCALERO]八福神TEE - D.GREEN
54005 PUNK DRUNKERS ステッカーTEE'20 / REVIVAL - WHITE
54006 PUNK DRUNKERS ステッカーTEE'20 / REVIVAL - M.GREEN
59128 PUNK DRUNKERS[PDSx鬼越トマホーク]鬼越トマホーク刺繍TEE - WHITE
59129 PUNK DRUNKERS[PDSx鬼越トマホーク]鬼越トマホーク刺繍TEE - M.PURPLE
62663 PUNK DRUNKERS (パンクドランカーズ) [PDSxMetropolitanCROSSbottle]クロスTEE - BLACK
62664 PUNK DRUNKERS (パンクドランカーズ) [PDSxMetropolitanCROSSbottle]クロスTEE - S.BLUE
62673 PUNK DRUNKERS (パンクドランカーズ) メニメニプリントTEE - S.BEIGE
67623 PUNK DRUNKERS(パンクドランカーズ)[PDSxみんなのたあ坊]バンドTEE - BLACK
67627 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博黙示録カイジ]ざわざわTEE - BLACK
67628 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博黙示録カイジ]ざわざわTEE - SLATE
67629 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博破戒録カイジ]大博奕TEE - SUMI
67631 PUNK DRUNKERS(パンクドランカーズ)[PDSx谷口崇]あいつ熊と蜂TEE - WHITE
67632 PUNK DRUNKERS(パンクドランカーズ)[PDSx谷口崇]あいつ熊と蜂TEE - H.BLACK
69869 PUNK DRUNKERS(パンクドランカーズ) [PDSxたまごっち]世話しなすぎTEE - WHITE
69871 PUNK DRUNKERS(パンクドランカーズ) [PDSxキン肉マン]ブラックホールTEE / REVIVAL - SLATE
69873 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止TEE - BLACK
69874 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止TEE - PURPLE
69875 PUNK DRUNKERS(パンクドランカーズ) [PDSxBEER]着るBEER.TEE - BLACK
70974 【予約商品】PUNK DRUNKERS [PDSx円谷プロ]ゼットンTEE - WHITE