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-02 07:36:37')
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
ORDER BY MAX(price02) DESC
LIMIT 0, 60
64379 PUNK DRUNKERS [PDSxTOY MACHINE]玩具機械ドカジャン - KHAKI
64380 PUNK DRUNKERS [PDSxTOY MACHINE]玩具機械ドカジャン - NAVY
68611 円谷プロ×PUNK DRUNKERS(パンクドランカーズ) ウルトラ怪獣JKT BLACK
64381 PUNK DRUNKERS キノコート - BLACK
59877 PUNK DRUNKERS [PDSxGreatMUTA]グレート・ムタ スカジャン / BLACK - BLACK/GREEN
68613 PUNK DRUNKERS(パンクドランカーズ)A DRUNKERS PUNKスタジャン - BLACK
64383 PUNK DRUNKERS PDSハンティングJKT - KHAKI
56611 PUNK DRUNKERS [PDSxGODZILLA]ガイガン&ヘドラリバスカジャン / NAVY - NAVY/BLACK
56612 PUNK DRUNKERS [PDSxGODZILLA]ガイガン&ヘドラリバスカジャン / KHAKI - BLACK/KHAKI
54778 PUNK DRUNKERS 占いJKT - BLACK
54771 PUNK DRUNKERS [PDSxPAC-MAN]名人コーデュロイJKT - BEIGE
54772 PUNK DRUNKERS [PDSxPAC-MAN]名人コーデュロイJKT - BLUE
56613 PUNK DRUNKERS [PDSxTEKKEN]吉光JKT - BLACK
69810 PUNK DRUNKERS(パンクドランカーズ) HOT DOG BOY.JKT - BEIGE
69811 PUNK DRUNKERS(パンクドランカーズ) HOT DOG BOY.JKT - D.GREEN
60879 PUNK DRUNKERS NEZUMIX.JKT - BEIGE
60880 PUNK DRUNKERS NEZUMIX.JKT - NAVY
69812 PUNK DRUNKERS(パンクドランカーズ) 寅カバーオール - NAVY
69813 PUNK DRUNKERS(パンクドランカーズ) 寅カバーオール - KHAKI
65968 PUNK DRUNKERS (パンクドランカーズ) ヤンキーJKT - BLACK
70215 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ボアフリースJKT N.GREEN
70216 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ボアフリースJKT BLACK
53108 PUNK DRUNKERS 危険第一JKT BLACK
53109 PUNK DRUNKERS 危険第一JKT PURPLE
54826 PUNK DRUNKERS パンクドオーバーオール - BLACK
54827 PUNK DRUNKERS パンクドオーバーオール - BEIGE
60926 PUNK DRUNKERS あいつ目オーバーオール - BLACK
69816 PUNK DRUNKERS(パンクドランカーズ) 指トンカーディガン - BROWN
56615 PUNK DRUNKERS 洗脳ナイロンパーカ - A.GREEN/BLACK
60882 PUNK DRUNKERS PUNX-Gジャン - BLACK
65973 PUNK DRUNKERS (パンクドランカーズ) ETCデニムパーカ - BLACK
64387 PUNK DRUNKERS [ボンバーマンxPDS]いつものステージニット - GREEN
64388 PUNK DRUNKERS [ボンバーマンxPDS]いつものステージニット - BLUE
59874 PUNK DRUNKERS [PDSxSONIC]ソニックスタジャン - BLACK
59875 PUNK DRUNKERS [PDSxSONIC]ソニックスタジャン - D.PURPLE
54784 PUNK DRUNKERS [PDSxTHUNDERBOX]ピクトグラムシャツ - BEIGE/BROWN
64392 PUNK DRUNKERS 光る目シャツ - BLACK
70217 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ボアフリースパンツ N.GREEN
70218 MILKBOYxPUNK DRUNKERS(パンクドランカーズ) 宇宙人ボアフリースパンツ BLACK
59876 PUNK DRUNKERS [PDSxGreatMUTA]グレート・ムタ スカジャン / BLUE - BLUE/BLACK
67604 PUNK DRUNKERS(パンクドランカーズ)[PDSxおよげ!たいやきくん]アロハシャツ - BLUE
67605 PUNK DRUNKERS(パンクドランカーズ)[PDSxおよげ!たいやきくん]アロハシャツ - GREEN
56623 PUNK DRUNKERS CAMOカーゴパンツ - KHAKI
59892 PUNK DRUNKERS Fatミリタリーパンツ - BLACK
59894 PUNK DRUNKERS Fatミリタリーパンツ - KHAKI
54773 PUNK DRUNKERS [PDSxPAC-MAN]名人コーデュロイパンツ - BEIGE
59904 PUNK DRUNKERS [PDSxSONIC]ソニックパーカ - BLUE
60886 PUNK DRUNKERS [PDSx阪神タイガース]阪神ベースボールシャツ - WHITE
60887 PUNK DRUNKERS [PDSx阪神タイガース]阪神ベースボールシャツ - BLACK
54799 PUNK DRUNKERS オタネルシャツ - GREEN
54800 PUNK DRUNKERS オタネルシャツ - ORANGE
54810 PUNK DRUNKERS 帰宅部ジャージ上(根性) - BLACK
67606 PUNK DRUNKERS(パンクドランカーズ)泥酔チェックシャツ - GREEN CHECK
68639 PUNK DRUNKERS(パンクドランカーズ)ボンテージ風チェックパンツ - RED CHECK
68640 PUNK DRUNKERS(パンクドランカーズ)ボンテージ風チェックパンツ - YELLOW CHECK
54781 PUNK DRUNKERS [PDSxPAC-MAN]名人セーター - BLACK
54816 PUNK DRUNKERS 飲んでるウィンドパンツ - BLACK
54822 PUNK DRUNKERS 手インターデニム - INDIGO
54830 PUNK DRUNKERS UMAパーカ - BLACK/BLUE
54831 PUNK DRUNKERS UMAパーカ - PURPLE/YELLOW