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-23 15:28:33')
AND ( p.sales_end_datetime IS NULL AND p.deliv_date_id != 9 )
AND pc.classcategory_id1 IN( 25,1,8,117,30,133,132)
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
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
36504 【ゲキクロ限定・予約商品】 a crowd of rebellion Gingerol Belt Black
36505 【ゲキクロ限定・予約商品】 a crowd of rebellion Gingerol Belt Yellow
36506 【ゲキクロ限定・予約商品】 a crowd of rebellion Gingerol Belt Red
42375 【限定アイテム】 a crowd of rebellion Ill Reversible Belt BLACKxWHITE
42376 【限定アイテム】 a crowd of rebellion Ill Reversible Belt BLACKxRED
42377 【限定アイテム】 a crowd of rebellion Ill Reversible Belt ORANGE
42378 【限定アイテム】 a crowd of rebellion Ill Reversible Belt BLUE
49833 SLIPKNOT Barcode-CD Wallet
56816 SLIPKNOT FACE MASK: S LOGO
32273 【ゲキクロ限定】 a crowd of rebellion Xanthium Tour 2017 冬季講習 ロングTシャツ
34352 a crowd of rebellion 10th Anniversary Tour 2017 Mobile Battery
34354 a crowd of rebellion 10th Anniversary Tour 2017 Smart Phone Case Black
34355 a crowd of rebellion 10th Anniversary Tour 2017 Smart Phone Case Pink
51191 SLIPKNOT TURNTABLE SLIPMAT SET: THE GRAY CHAPTER
28587 SLIPKNOT LOGO Beanie