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-26 02:13:18')
AND pc.price02 > 9090
AND price02 <= 13636
AND pc.classcategory_id1 IN( 13,35,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
LIMIT 0, 25
53106 PUNK DRUNKERS チェックx2ラインパンツ NAVY
53107 PUNK DRUNKERS チェックx2ラインパンツ BROWN
53990 PUNK DRUNKERS 弁慶スキニーパンツ GRAY
54714 PUNK DRUNKERS [PDSxKUDAN]PUNKUDAN式 総柄ベアショーツ BLUE
54715 PUNK DRUNKERS [PDSxKUDAN]PUNKUDAN式 総柄ベアショーツ GREEN
54712 PUNK DRUNKERS [PDSxKUDAN]PUNKUDAN式 総柄ベアシャツ BLUE
54713 PUNK DRUNKERS [PDSxKUDAN]PUNKUDAN式 総柄ベアシャツ GREEN
55548 PUNK DRUNKERS 切替イージーパンツ RED/BLACK
55549 PUNK DRUNKERS 切替イージーパンツ BLUE/CHARCOAL
54290 PUNK DRUNKERS ナイロンドンショーツ - GREEN
54289 PUNK DRUNKERS ナイロンドンショーツ - BLACK
54843 PUNK DRUNKERS 宇宙人スケボーパーカ - NAVY
54812 PUNK DRUNKERS 帰宅部ジャージ下(気合) - BLACK
54824 PUNK DRUNKERS 一瞬ベルト付きニーパンツ(スキニー) - BLACK
54825 PUNK DRUNKERS 一瞬ベルト付きニーパンツ(スキニー) - GRAY
54830 PUNK DRUNKERS UMAパーカ - BLACK/BLUE
54831 PUNK DRUNKERS UMAパーカ - PURPLE/YELLOW
54822 PUNK DRUNKERS 手インターデニム - INDIGO
56637 PUNK DRUNKERS スピーカーパーカ - BLACK
56638 PUNK DRUNKERS スピーカーパーカ - M.GRAY
56634 PUNK DRUNKERS 骨ジャンケンパーカ - PURPLE
56633 PUNK DRUNKERS 骨ジャンケンパーカ - BLACK
56621 PUNK DRUNKERS しみシャツ - WHITE
56622 PUNK DRUNKERS しみシャツ - LT.BLUE
56620 PUNK DRUNKERS [PDSxLAND by MILKBOY]ブラザーズデニムシャツ - LT.BLUE