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-19 00:02:53')
AND pc.classcategory_id1 IN( 14,61,35)
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
LIMIT 0, 75
60956 PUNK DRUNKERS [PDSxチャーミーちゃん]チャーミーちゃんとアイツBIG.TEE - BLACK
60955 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - SLATE
60957 PUNK DRUNKERS [PDSxチャーミーちゃん]チャーミーちゃんとアイツBIG.TEE - LT.PINK
62688 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - WHITE
60950 PUNK DRUNKERS [PDSxファミスタx阪神タイガース]ファミスタドランカーズTEE - WHITE
60969 PUNK DRUNKERS 切断アイツTEE - A.GREEN
62663 PUNK DRUNKERS (パンクドランカーズ) [PDSxMetropolitanCROSSbottle]クロスTEE - BLACK
62664 PUNK DRUNKERS (パンクドランカーズ) [PDSxMetropolitanCROSSbottle]クロスTEE - S.BLUE
60954 PUNK DRUNKERS [PDSx中華蕎麦とみ田]衣食TEE - BLACK
60972 PUNK DRUNKERS SHARK.TEE - BLACK
62689 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - SUMI
62679 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - ORANGE
62693 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - BLACK
62662 PUNK DRUNKERS (パンクドランカーズ) [PDSxデヴィ・スカルノ]夫人からあいつTEE - M.GREEN
62659 PUNK DRUNKERS (パンクドランカーズ) [PDSxデヴィ・スカルノ]夫人フォトTEE - BLACK
62660 PUNK DRUNKERS (パンクドランカーズ) [PDSxデヴィ・スカルノ]夫人フォトTEE - M.GREEN
60977 PUNK DRUNKERS PUNKS BAND.TEE - SUMI
60976 PUNK DRUNKERS PUNKS BAND.TEE - BLACK
60973 PUNK DRUNKERS SHARK.TEE - ASH
60968 PUNK DRUNKERS 切断アイツTEE - S.BEIGE
60952 PUNK DRUNKERS [PDSx太鼓の達人]太鼓マスターTEE - SUMI
60953 PUNK DRUNKERS [PDSx太鼓の達人]太鼓マスターTEE - D.GREEN
60951 PUNK DRUNKERS [PDSxファミスタx阪神タイガース]ファミスタドランカーズTEE - BLACK
62706 PUNK DRUNKERS (パンクドランカーズ) 24周年TEE - BLACK
62687 PUNK DRUNKERS (パンクドランカーズ) うさちゃんBIG.TEE - LT.PINK
62686 PUNK DRUNKERS (パンクドランカーズ) うさちゃんBIG.TEE - D.BLUE
62691 PUNK DRUNKERS (パンクドランカーズ) アーポくんTEE - SUMI
62690 PUNK DRUNKERS (パンクドランカーズ) アーポくんTEE - ASH
62703 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - M.GREEN
62702 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - ASH
62678 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - BLACK
62677 PUNK DRUNKERS (パンクドランカーズ) サスペンダーTEE - WHITE
62692 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - WHITE
62684 PUNK DRUNKERS (パンクドランカーズ) カミナリBIG.TEE - BLACK
62669 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこTEE - RED
62670 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこTEE - GREEN
62661 【予約商品】PUNK DRUNKERS[PDSxデヴィ・スカルノ]夫人からあいつTEE - BLACK
62694 PUNK DRUNKERS 餅つきTEE - BLACK
62695 PUNK DRUNKERS 餅つきTEE - BLUE
62710 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - SUMI
62711 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - BLUE
62712 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - A.GREEN
62713 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - PINK
64443 PUNK DRUNKERS × TOY MACHINE 組体操TEE - D.GREEN
64442 PUNK DRUNKERS x TOY MACHINE 組体操TEE - SUMI
64444 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - WHITE
64445 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - BLACK
67660 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - WHITE
67631 PUNK DRUNKERS(パンクドランカーズ)[PDSx谷口崇]あいつ熊と蜂TEE - WHITE
67656 PUNK DRUNKERS(パンクドランカーズ)昆虫採集TEE - WHITE
67652 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - BLACK
67653 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - PURPLE
67661 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - BLACK
67632 PUNK DRUNKERS(パンクドランカーズ)[PDSx谷口崇]あいつ熊と蜂TEE - H.BLACK
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
67664 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - RED
69892 PUNK DRUNKERS(パンクドランカーズ) ハードワーク突撃隊TEE - BLACK
69875 PUNK DRUNKERS(パンクドランカーズ) [PDSxBEER]着るBEER.TEE - BLACK
69884 PUNK DRUNKERS(パンクドランカーズ) サメンチュの休日BIG.TEE - WHITE
71011 【予約商品】PUNK DRUNKERS ロマンチーストTEE - BLACK
71009 【予約商品】PUNK DRUNKERS トラック野郎TEE - BLACK
71003 【予約商品】PUNK DRUNKERS 大きな小人TEE - BLACK
70998 【予約商品】PUNK DRUNKERS グリーンTEE - OFF WHITE
70996 【予約商品】PUNK DRUNKERS カプセルTEE - ASH
71141 【予約商品】PUNK DRUNKERS カプセルTEE - BLACK
70995 【予約商品】PUNK DRUNKERS スペコンライダーTEE - NAVY
70994 【予約商品】PUNK DRUNKERS スペコンライダーTEE - BLACK
70992 【予約商品】PUNK DRUNKERS NONフィクションBIG.TEE - WHITE
70986 【予約商品】PUNK DRUNKERS マッポたちTEE - D.GREEN
70987 【予約商品】PUNK DRUNKERS マッポたちTEE - BLACK
70984 【予約商品】PUNK DRUNKERS あいつポケTEE - WHITE
70985 【予約商品】あいつポケTEE - BLACK
70978 【予約商品】PUNK DRUNKERS [PDSxCANDIE BOLTON]キャンギャルアイツTEE - LT.BLUE
70976 【予約商品】PUNK DRUNKERS [PDSx円谷プロ]バルタン星人TEE - D.GREEN
70977 【予約商品】PUNK DRUNKERS [PDSx円谷プロ]バルタン星人TEE - SUMI