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-22 22:57:39')
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 = 250)
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY MAX(price02)
LIMIT 0, 60
56326 NineMicrophones NM/CS S/S BURGUNDY
65361 NineMicrophones (ナインマイクロフォンズ) Carabiner BLACK
65362 NineMicrophones (ナインマイクロフォンズ) Carabiner BURGUNDY
65363 NineMicrophones (ナインマイクロフォンズ) Carabiner WHITE
59019 Nine Microphones EMERGE L/S - BLACK
61790 NineMicrophones 4way MASK HOLDER
61471 NineMicrophones Description L/S WHITE
62613 NineMicrophones Chug S/S WHITE
62614 NineMicrophones Chug S/S BLACK
62615 NineMicrophones Chug S/S BURGUNDY
56323 NineMicrophones Lipsand Microphone S/S GRAY
56325 NineMicrophones NM/CS S/S BLACK
59018 Nine Microphones EMERGE L/S - WHITE
56307 NineMicrophones PARKA-Pain of My life BLACK
56068 NineMicrophones PARKA-Power of will-GRAY
58996 NineMicrophones SWEAT-FULLERTON- BURGUNDY
59055 Nine Microphones FULLZIP NECK WARMER - BLACK
11229 Nine Microphones HEAVEN S/S Gray
11285 Nine Microphones BE ON STAGE S/S BLACK
11287 Nine Microphones BE ON STAGE S/S DENIM
49739 NineMicrophones Pray with the microphone S/S WHITE
49740 NineMicrophones Pray with the microphone S/S BLACK
54381 Nine Microphones -walkin'mic- S/S - WHITE
56294 NineMicrophones BEANIE-Comrade-
56553 NineMicrophones 9MC Crew S/S White/Burgundy
56572 NineMicrophones 9MC Crew S/S Blue
71392 NineMicrophones (ナインマイクロフォンズ) TANKTOP-Pray with the microphone-WHITE
71393 NineMicrophones (ナインマイクロフォンズ) TANKTOP-Pray with the microphone-BLACK
69255 NineMicrophones(ナインマイクロフォンズ) LOW CAP-Comrade- BLACK
69258 NineMicrophones(ナインマイクロフォンズ) LOW CAP-Comrade- BEIGE
69259 NineMicrophones(ナインマイクロフォンズ) LOW CAP-Comrade- NAVY
56308 NineMicrophones PARKA-Pain of My life GRAY
56339 NineMicrophones SNAP BACK CAP-NM/CS- BLACK/RED
65376 NineMicrophones (ナインマイクロフォンズ) Rose S/S WHITE
65377 NineMicrophones (ナインマイクロフォンズ) Rose S/S WHIT Rose S/S BLACK
71533 NineMicrophones (ナインマイクロフォンズ) Pray with the microphone TEE BURGUNDY
56322 NineMicrophones Lipsand Microphone S/S WHITE
58994 NineMicrophones SWEAT-FULLERTON- BLACK
70954 NineMicrophones(ナインマイクロフォンズ) Libertad TEE WHITE
70956 NineMicrophones(ナインマイクロフォンズ) Libertad TEE BLACK
69189 NineMicrophones(ナインマイクロフォンズ) INSTINCT L/S TEE BLACK/ORANGE
69190 NineMicrophones(ナインマイクロフォンズ) INSTINCT L/S TEE BLACK/PURPLE
69191 NineMicrophones(ナインマイクロフォンズ) INSTINCT L/S TEE BLACK/GREEN
54354 Nine Microphones SWING TOP-The bonds with family- KHAKI
56556 Nine Microphones BORDER TEE L/S -9MC Vrew- WHITE
59022 【予約商品】Nine Microphones Sunforever2021AW L/S - WHITE
59023 【予約商品】Nine Microphones Sunforever2021AW L/S - BLACK
61472 NineMicrophones Description L/S BLACK
56346 NineMicrophones PICK NECKLACE ANTIQUE SILVER
70778 NineMicrophones (ナインマイクロフォンズ) DUCK KNAPSACK BLACK
56547 Nine Microphones PRINTED POLO-9MC Crew-BKBRG
65378 NineMicrophones (ナインマイクロフォンズ) SWEAT-Rose- WHITE
65379 NineMicrophones (ナインマイクロフォンズ) SWEAT-Rose- BLACK
66459 NineMicrophones (ナインマイクロフォンズ) ZIP PARKA-9MC Loco- BLACK
66460 NineMicrophones (ナインマイクロフォンズ) ZIP PARKA-9MC Loco- GRAY
66680 NineMicrophones(ナインマイクロフォンズ) SWEAT-Pray with the microphone- WHITE
66681 NineMicrophones(ナインマイクロフォンズ) SWEAT-Pray with the microphone- GRAY
66682 NineMicrophones(ナインマイクロフォンズ) SWEAT-Pray with the microphone- BLACK
66798 NineMicrophones(ナインマイクロフォンズ) SWEAT-Sunforever2023- GRAY
66799 NineMicrophones(ナインマイクロフォンズ) SWEAT-Sunforever2023- NAVY