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 (
SELECT product_id, category_id
FROM dtb_product_categories
WHERE category_id =1
)AS pcat
LEFT JOIN dtb_products AS p ON p.product_id = pcat.product_id
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-01 19:56:21')
AND pc.stock > 0
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY p.update_date DESC
LIMIT 0, 60
71563 【数量限定予約商品】ゲキクロX5万フォロワー達成記念HAPPY BAG
70441 明石真秀×RUDIE'S コラボ限定Tシャツ
70455 月見山 渚×アマツカミ コラボ限定Tシャツ
71576 【予約商品】GALFY(ガルフィー) ゴリ厨二ボーダーTee WHITE BORDER
71578 【予約商品】GALFY(ガルフィー) ゴリ厨二ボーダーTee BLUE BORDER
71577 【予約商品】GALFY(ガルフィー) ゴリ厨二ボーダーTee PINK BORDER
71574 【予約商品】GALFY(ガルフィー) デッカわんちゃんTee BEIGE
71575 【予約商品】GALFY(ガルフィー) デッカわんちゃんTee PURPLE
71573 【予約商品】GALFY(ガルフィー) デッカわんちゃんTee BLACK
71581 【予約商品】GALFY(ガルフィー) GAL着火FIRE Tee WHITE
71580 【予約商品】GALFY(ガルフィー) GAL着火FIRE Tee YELLOW
71579 【予約商品】GALFY(ガルフィー) GAL着火FIRE Tee BLACK
71584 【予約商品】GALFY(ガルフィー) LFG!!GALFY Tee WHITE
71583 【予約商品】GALFY(ガルフィー) LFG!!GALFY Tee PURPLE
71582 【予約商品】GALFY(ガルフィー) LFG!!GALFY Tee BLACK
71588 【予約商品】GALFY(ガルフィー) ガル札 Tee WHITE
71590 【予約商品】GALFY(ガルフィー) ガル札 Tee GREEN
71589 【予約商品】GALFY(ガルフィー) ガル札 Tee BLACK
71593 【予約商品】GALFY(ガルフィー) ボタニガルフィーTee BROWN
71592 【予約商品】GALFY(ガルフィー) ボタニガルフィーTee GREEN
71591 【予約商品】GALFY(ガルフィー) ボタニガルフィーTee BLACK
71512 Subciety(サブサエティ) SCRATCHED PIGMENT TEE KHAKI
71513 Subciety(サブサエティ) SCRATCHED PIGMENT TEE NAVY
71514 Subciety(サブサエティ) SCRATCHED PIGMENT TEE BLACK
71320 over print (オーバープリント) EAT A PIZZA Tee black
71329 over print (オーバープリント) FELIX Tee A
71356 over print (オーバープリント) CHUCKY Tee 1
71317 over print (オーバープリント) EAT A PIZZA Tee white
71318 over print (オーバープリント) EAT A PIZZA Tee ash gray
71319 over print (オーバープリント) EAT A PIZZA Tee dark green
71357 over print (オーバープリント) CHUCKY Tee 2
71339 over print (オーバープリント) GHOST BUSTERS Tee 5 ash gray
71343 over print (オーバープリント) GHOST BUSTERS Tee 6 yellow
71344 over print (オーバープリント) GHOST BUSTERS Tee 6 black
71346 over print (オーバープリント) GHOST BUSTERS Tee 7 dark black
71347 over print (オーバープリント) GHOST BUSTERS Tee 8 white
71348 over print (オーバープリント) GHOST BUSTERS Tee 8 black
71349 over print (オーバープリント) GHOST BUSTERS Tee 9 wine
71351 over print (オーバープリント) GHOST BUSTERS Tee 10 white
71352 over print (オーバープリント) GHOST BUSTERS Tee 10 yellow
71353 over print (オーバープリント) GHOST BUSTERS Tee 10 lime
71354 over print (オーバープリント) GHOST BUSTERS Tee 10 blue
71381 over print (オーバープリント) GHOST BUSTERS Tee 10 pink
71340 over print (オーバープリント) GHOST BUSTERS Tee 5 blue
71341 over print (オーバープリント) GHOST BUSTERS Tee 5 black
71342 over print (オーバープリント) GHOST BUSTERS Tee 6 white
71345 over print (オーバープリント) GHOST BUSTERS Tee 7 dark green
71350 over print (オーバープリント) GHOST BUSTERS Tee 9 black
71355 over print (オーバープリント) GHOST BUSTERS Tee 10 red
71041 over print (オーバープリント) PIZZA PRICE Tee ash gray
71042 over print (オーバープリント) PIZZA PRICE Tee yellow
71043 over print (オーバープリント) PIZZA PRICE Tee navy
71062 over print (オーバープリント) ANTI HEART Tee dark black
71059 over print (オーバープリント) ANTI HEART Tee white
71060 over print (オーバープリント) ANTI HEART Tee ash gray
71061 over print (オーバープリント) ANTI HEART Tee dark green
71560 HEDWiNG (ヘドウィグ) "Varry" T-shirt / White
71561 HEDWiNG (ヘドウィグ) "Varry" T-shirt / Black
71516 【予約商品】GALFY(ガルフィー) ガルフィーカモボックスロゴTee PINK
71517 【予約商品】GALFY(ガルフィー) ガルフィーカモボックスロゴTee BEIGE