Can you do this ?Declare @tbl_shops table ( id numeric identity, shop_id numeric, shop_title varchar(500) )insert into @tbl_shops(shop_id, shop_title) select shop.shop_id, shop.shop_title from tbl_shops shop Inner Join @tbl_programs prog on shop.program_id = prog.program_id and not exists (select * from tbl_shop_requests x where x.shop_id = shop.shop_id)
KHChoice is an illusion, created between those with power, and those without.Concordantly, while your first question may be the most pertinent, you may or may not realize it is also the most irrelevant