SELECT SQL_CALC_FOUND_ROWS 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-04-26 12:55:50')
AND pc.price02 > 2727
AND price02 <= 4545
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, 120
69890 PUNK DRUNKERS(パンクドランカーズ) 超丸尾兄弟TEE - WHITE
70994 【予約商品】PUNK DRUNKERS スペコンライダーTEE - BLACK
70995 【予約商品】PUNK DRUNKERS スペコンライダーTEE - NAVY
71141 【予約商品】PUNK DRUNKERS カプセルTEE - BLACK
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
69895 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - SUMI
69894 PUNK DRUNKERS(パンクドランカーズ) ですメタルTEE - BLACK
69892 PUNK DRUNKERS(パンクドランカーズ) ハードワーク突撃隊TEE - BLACK
69106 PUNK DRUNKERS(パンクドランカーズ)NEKOCATS.TEE'23 / REVIVAL BURGUNDY
69107 PUNK DRUNKERS(パンクドランカーズ)NEKOCATS.TEE'23 / REVIVAL BLACK
69109 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL SLATE
69108 PUNK DRUNKERS(パンクドランカーズ)サンドウィッチTEE'23 / REVIVAL BLACK
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
69101 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL B.PURPLE
69103 PUNK DRUNKERS(パンクドランカーズ)美少女TEE'23 / REVIVAL BLACK
67664 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - RED
67665 PUNK DRUNKERS(パンクドランカーズ)アイツ大佐TEE - SUMI
67655 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - S.BLUE
67654 PUNK DRUNKERS(パンクドランカーズ)アニメ少女TEE - BLACK
67661 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - BLACK
67653 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - PURPLE
67652 PUNK DRUNKERS(パンクドランカーズ)縛りTEE - BLACK
64214 TOY MACHINE×PUNK DRUNKERS AITSU AND SECT YING YANG SS TEE - WHITE
64216 TOY MACHINE×PUNK DRUNKERS AITSU AND TOYMONSTER IN TURTLE HEAD SS TEE - WHITE
64217 TOY MACHINE×PUNK DRUNKERS AITSU AND TOYMONSTER IN TURTLE HEAD SS TEE - SAND
64218 TOY MACHINE×PUNK DRUNKERS SECT FROM AITSU SS TEE - WHITE
67656 PUNK DRUNKERS(パンクドランカーズ)昆虫採集TEE - WHITE
67659 PUNK DRUNKERS(パンクドランカーズ)妖怪集合TEE - PURPLE
67660 PUNK DRUNKERS(パンクドランカーズ)0089.TEE - WHITE
66042 PUNK DRUNKERS (パンクドランカーズ) ゆーれーTEE - BLACK
66043 PUNK DRUNKERS (パンクドランカーズ) ゆーれーTEE - PURPLE
66040 PUNK DRUNKERS (パンクドランカーズ) 13日以外禁止TEE - BLACK
66032 PUNK DRUNKERS (パンクドランカーズ) ウーパーアイーツTEE - BLACK
66047 PUNK DRUNKERS (パンクドランカーズ) お米の人TEE - BLACK
66046 PUNK DRUNKERS (パンクドランカーズ) お米の人TEE - WHITE
66031 PUNK DRUNKERS (パンクドランカーズ) あいつを探せTEE - LT.YELLOW
66030 PUNK DRUNKERS (パンクドランカーズ) あいつを探せTEE - WHITE
64445 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - BLACK
64444 PUNK DRUNKERS [PDSx高須クリニック]院長フォトTEE - WHITE
64442 PUNK DRUNKERS x TOY MACHINE 組体操TEE - SUMI
62713 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - PINK
62710 PUNK DRUNKERS べちゃロゴTEE / O.Fシリーズ - SUMI
62669 PUNK DRUNKERS (パンクドランカーズ) タイダイきのこTEE - RED
62702 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - ASH
62703 PUNK DRUNKERS (パンクドランカーズ) とびすぎちゅういTEE - M.GREEN
62706 PUNK DRUNKERS (パンクドランカーズ) 24周年TEE - BLACK
60968 PUNK DRUNKERS 切断アイツTEE - S.BEIGE
62693 PUNK DRUNKERS (パンクドランカーズ) あいつ遊泳TEE - BLACK
62689 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - SUMI
60972 PUNK DRUNKERS SHARK.TEE - BLACK
60969 PUNK DRUNKERS 切断アイツTEE - A.GREEN
62688 PUNK DRUNKERS (パンクドランカーズ) アイツノニマスTEE - WHITE
59940 PUNK DRUNKERS [PDSxGreatMUTA]タッグTEE - D.H.NAVY
59134 PUNK DRUNKERS 鮫人パジャマTEE - D.YELLOW
59135 PUNK DRUNKERS 鮫人パジャマTEE - A.GREEN
58218 PUNK DRUNKERS となりにアイツTEE - BLACK
58224 【予約商品】PUNK DRUNKERS 3匹のクマTEE - WHITE
58225 【予約商品】PUNK DRUNKERS 3匹のクマTEE - LT.BLUE
58228 【予約商品】PUNK DRUNKERS 23周年TEE - BLACK
58229 【予約商品】PUNK DRUNKERS 23周年TEE - RED
56609 PUNK DRUNKERS 大統領TEE - WHITE
55809 PUNK DRUNKERS 顔コンペTEE'20 - WHITE
55810 PUNK DRUNKERS 顔コンペTEE'20 - SAND.KHAKI
55550 PUNK DRUNKERS AITSU.TEE WHITE
55551 PUNK DRUNKERS AITSU.TEE BLACK
54751 PUNK DRUNKERS イギリス人TEE BLACK
10999 PUNK DRUNKERS 車のライトTEE MINT
11948 PUNK DRUNKERS 秘密の集団TEE GREEN
13314 PUNK DRUNKERS MADBALLSめーいっぱいTEE EMERALD
13316 PUNK DRUNKERS MADBALLSコミックTEE GRAY
18862 PUNK DRUNKERS あいつ迷彩TEE WHITE
19037 PUNK DRUNKERS 横断歩道TEE BLACK
19038 PUNK DRUNKERS お茶漬けポケットTEE WHITE
24623 PUNK DRUNKERS 【PDSx円谷プロ】怪獣総柄TEE 白黒
24624 PUNK DRUNKERS 【PDSx円谷プロ】怪獣総柄TEE カラフル
25522 PUNK DRUNKERS ロゴだらけBIGシルエットTEE
25526 PUNK DRUNKERS abnormal.TEE BURGUNDY
25528 PUNK DRUNKERS abnormalワイドTEE[LADIES] H.PURPLE
26514 PUNK DRUNKERS 【PDSxこびとづかん】こびとボーダーTEE WHITE
26515 PUNK DRUNKERS 【PDSxこびとづかん】こびとボーダーTEE LT.BLUE
26516 PUNK DRUNKERS 善悪TEE WHITE
32068 PUNK DRUNKERS 驚愕ポケTEE BLACK
32460 PUNK DRUNKERS (パンクドランカーズ) 【PDSxMILKBOY】2060.TEE WHITE
32461 PUNK DRUNKERS (パンクドランカーズ) 【PDSxMILKBOY】2060.TEE BLACK
32462 PUNK DRUNKERS (パンクドランカーズ) 【PDSxMILKBOY】IT BEAR.TEE WHITE
32463 PUNK DRUNKERS (パンクドランカーズ) 【PDSxMILKBOY】IT BEAR.TEE BLACK
32467 PUNK DRUNKERS (パンクドランカーズ) パッチTEE WHITE
32468 PUNK DRUNKERS (パンクドランカーズ) パッチTEE BLACK
33590 PUNK DRUNKERS (パンクドランカーズ) 重ね着風都市ロング丈TEE BLACK
33591 PUNK DRUNKERS (パンクドランカーズ) 重ね着風都市ロング丈TEE WHITE
33594 PUNK DRUNKERS (パンクドランカーズ) 微生物ロゴTEE LT.YELLOW
35007 PUNK DRUNKERSギャーTEE WHITE
35008 PUNK DRUNKERSギャーTEE LIGHT BLUE
36064 PUNK DRUNKERS 【PDSx加藤諒】METAL.TEE BLAKC
36321 PUNK DRUNKERS PDSx久米仙 酔TEE NAVY
40534 PUNK DRUNKERS 89フットボールTEE BLUE/ORANGE
40537 PUNK DRUNKERS 89フットボールTEE BLACK/GRAY
40541 PUNK DRUNKERS 【PDSx高須クリニック】高須フォトTEE WHITE
40542 PUNK DRUNKERS 【PDSx高須クリニック】高須フォトTEE BLACK
41664 PUNK DRUNKERS 【PDSxSNK】メタルスラッグTEE BLACK
41665 PUNK DRUNKERS 【PDSxSNK】メタルスラッグTEE D.NAVY
45174 PUNK DRUNKERS [PDSx仮面ライダー]平成ライダー集合TEE WHITE
45175 PUNK DRUNKERS [PDSx仮面ライダー]平成ライダー集合TEE LT.BLUE
46966 PUNK DRUNKERS [PDSxガチャピン・ムック]あいつと仲良しTEE WHITE
46967 PUNK DRUNKERS [PDSxガチャピン・ムック]あいつと仲良しTEE BLACK
46992 PUNK DRUNKERS パンクドヒーローズTEE BLACK
46993 PUNK DRUNKERS 仙人あいつTEE BLACK
46995 PUNK DRUNKERS カラフル大仏TEE ORANGE
46999 PUNK DRUNKERS サイコロTEE SLATE
47001 PUNK DRUNKERS ぽっちゃいつTEE C.ORANGE
48498 【PDS×まあたそ×ゲキクロ】まあたそとあいつTEE BLACK
48499 【PDS×まあたそ×ゲキクロ】まあたそとあいつTEE WHITE