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-13 17:05:38')
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
LIMIT 480, 120
67652 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - BLACK
67653 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - PURPLE
67654 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - BLACK
67655 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - S.BLUE
67656 PUNK DRUNKERS(パンクドランカーズ)昆虫採集TEE - WHITE
67659 PUNK DRUNKERS(パンクドランカーズ)妖怪集合TEE - PURPLE
67660 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - WHITE
67661 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - BLACK
67664 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - RED
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
67678 PUNK DRUNKERS(パンクドランカーズ)おもちゃ屋HAT - LT.BEIGE
67679 PUNK DRUNKERS(パンクドランカーズ)おもちゃ屋HAT - NAVY
67680 PUNK DRUNKERS(パンクドランカーズ)ミラーサングラス'23SUMMER - BLUE
67681 PUNK DRUNKERS(パンクドランカーズ)ミラーサングラス'23SUMMER - GRAY
67682 PUNK DRUNKERS(パンクドランカーズ)サングラス'23SUMMER - BLACK
67688 PUNK DRUNKERS (パンクドランカーズ) ティッシュウエストBAG - BLACK
67689 PUNK DRUNKERS (パンクドランカーズ) ティッシュウエストBAG - KHAKI
67693 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - WHITE
67694 PUNK DRUNKERS (パンクドランカーズ) あいつライン靴下 - BLACK
67695 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - TURQUOISE
67696 PUNK DRUNKERS (パンクドランカーズ)あいつライン靴下 - N.GREEN
67697 PUNK DRUNKERS (パンクドランカーズ) サム靴下 - ORANGE
67698 PUNK DRUNKERS (パンクドランカーズ) サム靴下 - GREEN
67711 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - BLUE
67712 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - RED
67713 PUNK DRUNKERS (パンクドランカーズ) シン・アイツマホ ラバーリング Mk-2 - GREEN
67714 PUNK DRUNKERS (パンクドランカーズ) カッティングシート / あいつ小 - WHITE
67715 PUNK DRUNKERS (パンクドランカーズ) カッティングシート / あいつ小 - BLACK
68611 円谷プロ×PUNK DRUNKERS(パンクドランカーズ) ウルトラ怪獣JKT BLACK
68613 PUNK DRUNKERS(パンクドランカーズ)A DRUNKERS PUNKスタジャン - BLACK
68627 PUNK DRUNKERS(パンクドランカーズ)PUNKDRUNKたっぷりトレーナー - GREEN/NAVY
68628 PUNK DRUNKERS(パンクドランカーズ)PUNKDRUNKたっぷりトレーナー - RED/D.BLUE
68639 PUNK DRUNKERS(パンクドランカーズ)ボンテージ風チェックパンツ - RED CHECK
68640 PUNK DRUNKERS(パンクドランカーズ)ボンテージ風チェックパンツ - YELLOW CHECK
68645 PUNK DRUNKERS(パンクドランカーズ)[PDSxBLACK PEARLS]集合BIGパーカ - BLACK
68647 PUNK DRUNKERS(パンクドランカーズ)反区怒商店BIG.ZIPパーカ - BLACK
68651 PUNK DRUNKERS(パンクドランカーズ)PXDXパーカ - BLACK
68652 PUNK DRUNKERS(パンクドランカーズ)PXDXパーカ - M.GRAY
68657 PUNK DRUNKERS(パンクドランカーズ)P&D'sトレーナー - M.GRAY
68658 PUNK DRUNKERS(パンクドランカーズ)P&D'sトレーナー - S.BLUE
68696 PUNK DRUNKERS(パンクドランカーズ) あいつとサンリオキャラクターズボクサーパンツ - BLACK
68712 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - BLUE
68713 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - GREEN
68714 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - RED
68715 PUNK DRUNKERS(パンクドランカーズ)ぱんくどの湯キーホルダー - ORANGE
68720 PUNK DRUNKERS(パンクドランカーズ)ステッカー / 飛び出しあいつ - P.ORANGE
68721 PUNK DRUNKERS(パンクドランカーズ)ステッカー / 飛び出しあいつ - RED
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
69114 PUNK DRUNKERS (パンクドラカーズ) 飛び出しあいつ ステッカー P.ORANGE
69115 PUNK DRUNKERS(パンクドランカーズ) 飛び出しあいつ ステッカー RED
69196 PUNK DRUNKERS(パンクドランカーズ) CAT'S BIGパーカ BLACK
69197 PUNK DRUNKERS(パンクドランカーズ) CAT'S BIGパーカ S.GREEN
69198 PUNK DRUNKERS(パンクドランカーズ) 危ない女BIGロンTEE WHITE
69199 PUNK DRUNKERS(パンクドランカーズ) 危ない女BIGロンTEE BLACK
69200 PUNK DRUNKERS(パンクドランカーズ) 双頭ベアロンTEE WHITE
69201 PUNK DRUNKERS(パンクドランカーズ) 双頭ベアロンTEE BLUE
69202 PUNK DRUNKERS(パンクドランカーズ) 3本指HAT BLACK
69450 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス GREEN
69451 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス BLACK
69452 PUNK DRUNKERS (パンクドランカーズ) ハイやねんソックス GRAY
69453 PUNK DRUNKERS (パンクドランカーズ) ひとりぼっちニットCAP
69454 PUNK DRUNKERS (パンクドランカーズ) [PDSxPOPEYE™]ポパイツトレーナー
69455 PUNK DRUNKERS (パンクドランカーズ) 花ハーフジップトレーナー ASH
69457 PUNK DRUNKERS (パンクドランカーズ) 花ハーフジップトレーナー BLACK
69810 PUNK DRUNKERS(パンクドランカーズ) HOT DOG BOY.JKT - BEIGE
69811 PUNK DRUNKERS(パンクドランカーズ) HOT DOG BOY.JKT - D.GREEN
69812 PUNK DRUNKERS(パンクドランカーズ) 寅カバーオール - NAVY
69813 PUNK DRUNKERS(パンクドランカーズ) 寅カバーオール - KHAKI
69816 PUNK DRUNKERS(パンクドランカーズ) 指トンカーディガン - BROWN
69837 PUNK DRUNKERS(パンクドランカーズ)IEGIパーカ - BLACK
69838 PUNK DRUNKERS(パンクドランカーズ)IEGIパーカ - M.GRAY
69839 PUNK DRUNKERS(パンクドランカーズ)IEGIパーカ - BLUE
69840 PUNK DRUNKERS(パンクドランカーズ)IEGIスウェットパンツ - BLACK
69841 PUNK DRUNKERS(パンクドランカーズ)IEGIスウェットパンツ - M.GRAY
69842 PUNK DRUNKERS(パンクドランカーズ)IEGIスウェットパンツ - BLUE
69845 PUNK DRUNKERS(パンクドランカーズ) ChantPDS.BIGパーカ - BLACK
69846 PUNK DRUNKERS(パンクドランカーズ) ChantPDS.BIGパーカ - S.GREEN
69847 PUNK DRUNKERS(パンクドランカーズ) 必需品BIGパーカ - BLACK
69848 PUNK DRUNKERS(パンクドランカーズ) 必需品BIGパーカ - BEIGE
69849 PUNK DRUNKERS(パンクドランカーズ) [PDSxBLACK PEARLS]バスケ部トレーナー - M.GRAY
69850 PUNK DRUNKERS(パンクドランカーズ) [PDSxBLACK PEARLS]バスケ部トレーナー - BLACK
69853 PUNK DRUNKERS(パンクドランカーズ) Wダメージトレーナー - BLACK
69854 PUNK DRUNKERS(パンクドランカーズ) Wダメージトレーナー - D.GREEN
69855 PUNK DRUNKERS(パンクドランカーズ) くまさんBIGトレーナー - NAVY
69857 PUNK DRUNKERS(パンクドランカーズ) [PDSxたまごっち]あいつっちロンTEE - WHITE
69858 PUNK DRUNKERS(パンクドランカーズ) [PDSxたまごっち]あいつっちロンTEE - D.YELLOW
69861 PUNK DRUNKERS(パンクドランカーズ) 視力検査BIGロンTEE - WHITE
69862 PUNK DRUNKERS(パンクドランカーズ) 視力検査BIGロンTEE - BLACK
69863 PUNK DRUNKERS(パンクドランカーズ) PUNKDS IS NOT DEADラグランロンTEE - 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
69877 PUNK DRUNKERS(パンクドランカーズ) マイレコメンドポケTEE - BLACK
69878 PUNK DRUNKERS(パンクドランカーズ) マイレコメンドポケTEE - S.BLUE
69879 PUNK DRUNKERS(パンクドランカーズ) ピン抜くゲームTEE - WHITE
69884 PUNK DRUNKERS(パンクドランカーズ) サメンチュの休日BIG.TEE - WHITE
69888 PUNK DRUNKERS(パンクドランカーズ) 毒キノコTEE - D.BLUE
69889 PUNK DRUNKERS(パンクドランカーズ) 毒キノコTEE - S.PINK
69890 PUNK DRUNKERS(パンクドランカーズ) 超丸尾兄弟TEE - WHITE
69892 PUNK DRUNKERS(パンクドランカーズ) ハードワーク突撃隊TEE - BLACK
69894 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - BLACK
69895 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - SUMI
69898 PUNK DRUNKERS(パンクドランカーズ) 北極あいつCAP - BLACK
69899 PUNK DRUNKERS(パンクドランカーズ) 北極あいつCAP - NAVY
69912 PUNK DRUNKERS(パンクドランカーズ) [PDSxチャーミーちゃん]遊泳禁止ポーチ - A.GREEN
69913 PUNK DRUNKERS(パンクドランカーズ) あみだボクサーパンツ - BLACK
69914 PUNK DRUNKERS(パンクドランカーズ) グレイトフルマッポボクサーパンツ - SLATE
69915 PUNK DRUNKERS(パンクドランカーズ) あいつピエロボーダーソックス - BLACKボーダー
69916 PUNK DRUNKERS(パンクドランカーズ) あいつピエロボーダーソックス - REDボーダー