Select Top 100 * from shop_item_list a, shop_prdt_info b where a.it_code = b.it_code and status in ('Y') and a.it_code not in (select top 0 a.it_code from shop_item_list a, shop_prdt_info b where a.it_code = b.it_code and status in ('Y') and left(categorycode,3)='004' and categorycode='004002000000' order by DISPLAY_SEQ_CATE2) and left(categorycode,3)='004' and categorycode='004002000000' order by DISPLAY_SEQ_CATE2