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-11 23:55:58')
AND FIND_IN_SET(1, p.color)
AND pc.classcategory_id1 IN( 12,44)
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, 60
69873 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止TEE - BLACK
69877 PUNK DRUNKERS(パンクドランカーズ) マイレコメンドポケTEE - BLACK
70980 PUNK DRUNKERS [PDSx3ZOxAMC]94あいつBIG.TEE - BLACK
69875 PUNK DRUNKERS(パンクドランカーズ) [PDSxBEER]着るBEER.TEE - BLACK
69895 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - SUMI
69894 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - BLACK
69107 PUNK DRUNKERS(パンクドランカーズ)NEKOCATS.TEE'23 / REVIVAL BLACK
69108 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL BLACK
69111 PUNK DRUNKERS(パンクドランカーズ)般若スケボーTEE'23 / REVIVAL SUMI
69113 PUNK DRUNKERS(パンクドランカーズ)ABCDTEE'23 / REVIVAL BLACK
69103 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL BLACK
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
67654 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - BLACK
67643 PUNK DRUNKERS(パンクドランカーズ)コミカルブラザーズBIG.TEE - BLACK
67628 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博黙示録カイジ]ざわざわTEE - SLATE
67627 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博黙示録カイジ]ざわざわTEE - BLACK
67629 PUNK DRUNKERS(パンクドランカーズ)[PDSx賭博破戒録カイジ]大博奕TEE - SUMI
67635 PUNK DRUNKERS(パンクドランカーズ)ポケットからレシートTEE - BLACK
67632 PUNK DRUNKERS(パンクドランカーズ)[PDSx谷口崇]あいつ熊と蜂TEE - H.BLACK
67661 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - BLACK
67652 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - BLACK
64219 TOY MACHINE×PUNK DRUNKERS SECT FROM AITSU SS TEE - BLACK
67623 PUNK DRUNKERS(パンクドランカーズ)[PDSxみんなのたあ坊]バンドTEE - BLACK
66040 PUNK DRUNKERS (パンクドランカーズ) 13日以外禁止TEE - BLACK
66032 PUNK DRUNKERS (パンクドランカーズ) ウーパーアイーツTEE - BLACK
66047 PUNK DRUNKERS (パンクドランカーズ) お米の人TEE - BLACK
64442 PUNK DRUNKERS x TOY MACHINE 組体操TEE - SUMI
62710 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - SUMI
62694 PUNK DRUNKERS 餅つきTEE - BLACK
62661 【予約商品】PUNK DRUNKERS[PDSxデヴィ・スカルノ]夫人からあいつTEE - BLACK
62684 PUNK DRUNKERS (パンクドランカーズ) カミナリBIG.TEE - BLACK
62665 PUNK DRUNKERS[PDSxCOCALERO]八福神TEE - H.BLACK
62674 PUNK DRUNKERS (パンクドランカーズ) メニメニプリントTEE - D.H.NAVY
62678 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - BLACK
62691 PUNK DRUNKERS (パンクドランカーズ) アーポくんTEE - SUMI
62706 PUNK DRUNKERS (パンクドランカーズ) 24周年TEE - BLACK
60951 PUNK DRUNKERS [PDSxファミスタx阪神タイガース]ファミスタドランカーズTEE - BLACK
60952 PUNK DRUNKERS [PDSx太鼓の達人]太鼓マスターTEE - SUMI
60976 PUNK DRUNKERS PUNKS BAND.TEE - BLACK
60977 PUNK DRUNKERS PUNKS BAND.TEE - SUMI
64213 TOY MACHINE×PUNK DRUNKERS AITSU AND THE CHARACTERS SS TEE - BLACK
62659 PUNK DRUNKERS (パンクドランカーズ) [PDSxデヴィ・スカルノ]夫人フォトTEE - BLACK
62693 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - BLACK
62689 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - SUMI
60972 PUNK DRUNKERS SHARK.TEE - BLACK
60954 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - BLACK
59937 PUNK DRUNKERS [PDSxSONIC]ソニック総柄TEE - BLACK
62663 PUNK DRUNKERS (パンクドランカーズ) [PDSxMetropolitanCROSSbottle]クロスTEE - BLACK
60955 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - SLATE
60956 PUNK DRUNKERS [PDSxチャーミーちゃん]チャーミーちゃんとアイツBIG.TEE - BLACK
59939 PUNK DRUNKERS [PDSxGreatMUTA]タッグTEE - SUMI
58188 【予約商品】PUNK DRUNKERS [PDSxなかやまきんに君]パワーTEE - BLACK
58198 PUNK DRUNKERS [PDSxBLACK PEARLS]PDSロードTEE - BLACK
58193 PUNK DRUNKERS [PDSxHAOMING]半分TEE - WHITE
58218 PUNK DRUNKERS となりにアイツTEE - BLACK
56681 PUNK DRUNKERS PT.TEE - BLACK
58213 PUNK DRUNKERS りんごTEE - BLACK
58228 【予約商品】PUNK DRUNKERS 23周年TEE - BLACK
56653 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズTEE - BLACK
56654 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズTEE - ASH