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-04-28 02:01:41')
AND p.product_id IN (SELECT product_id FROM dtb_product_categories WHERE category_id = 93)
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY MAX(price02)
LIMIT 0, 50
17759 a crowd of rebellion Sticker Black
17760 a crowd of rebellion Sticker Red
34348 a crowd of rebellion 10th Anniversary Tour 2017 Badge
34349 a crowd of rebellion 10th Anniversary Tour 2017 IC Card Sticker
14105 a crowd of rebellion Rubber Bracelet GREEN
19909 a crowd of rebellion ラバーバンド お犬様 BLK
19910 a crowd of rebellion ラババン お犬様 LIGHT BLUE
19911 a crowd of rebellion ラバーバンド お犬様 PINK
19912 a crowd of rebellion ラバーバンド お犬様 WHT
19913 a crowd of rebellion ラバーバンド お犬様 BLUE
32276 【ゲキクロ限定】 a crowd of rebellion Xanthium Tour 2017 ラバーバンド
34558 a crowd of rebellion Rubber Bracelet PINK
34559 a crowd of rebellion Rubber Bracelet YELLOW
17753 a crowd of rebellion Rubber Bracelet CAMO
25570 a crowd of rebellion ロゴバンド ボタン無し
26440 【限定アイテム】a crowd of rebellion ゲキクロ&VV 限定ラバーバンドBLUE
26441 【限定アイテム】a crowd of rebellion ゲキクロ&VV 限定ラバーバンドRED
34350 a crowd of rebellion 10th Anniversary Tour 2017 Rubber Bracelet
41368 a crowd of rebellion ラバーバンド
25564 a crowd of rebellion りべ子 ヴァンパイアバージョン PNK×BLUE
25566 a crowd of rebellion りべ子 ヴァンパイアバージョン WHT×RED
25571 a crowd of rebellion ロゴバンド ボタン付き
36507 【ゲキクロ限定】 a crowd of rebellion Gingerol Rubberband Black
36508 【ゲキクロ限定】 a crowd of rebellion Gingerol Rubberband Pink
36509 【ゲキクロ限定】 a crowd of rebellion Gingerol Rubberband Blue
36510 【ゲキクロ限定】 a crowd of rebellion Gingerol Rubberband Purple
35283 SLIPKNOT Logo Gummy Band
34351 a crowd of rebellion 10th Anniversary Tour 2017 Bottle Strap
42379 【限定アイテム】 a crowd of rebellion Rubber Band BLACKxWHITE
18897 【a crowd of rebellion × ゲキクロ】限定デザインZOX STRAPS
35285 SLIPKNOT Standard Keychain
17757 a crowd of rebellion Towel Blue
25567 a crowd of rebellion ロゴどん!タオル ver.2
32275 【ゲキクロ限定】 a crowd of rebellion Xanthium Tour 2017 タオル
34347 a crowd of rebellion 10th Anniversary Tour 2017 Towel
51192 SLIPKNOT STANDARD KEYCHAIN: LOGO
40855 Zephyren a crowd of rebellion x A.V.E.S.T S/S TEE BLACK
17748 a crowd of rebellion The Crow Black TEE
17749 a crowd of rebellion The Crow Off White
17750 a crowd of rebellion Band Logo Black
17751 a crowd of rebellion Band Logo Off White
19156 a crowd of rebellion Blood Sphere Ver2 WHITE
19157 a crowd of rebellion Blood Sphere Ver2 BLACK
19158 a crowd of rebellion 【お犬様】
25561 a crowd of rebellion Tシャツ 宇宙人
25562 a crowd of rebellion Tシャツ あーす
25563 a crowd of rebellion Tシャツ ごま達 反逆
32271 【ゲキクロ限定】 a crowd of rebellion Xanthium Tour 2017 冬期講習 Tシャツ
34344 a crowd of rebellion 10th Anniversary Tour 2017 T-Shirts Charcoal Gray
34345 a crowd of rebellion 10th Anniversary Tour 2017 T-Shirts Light Blue