/****** Script for SelectTopNRows command from SSMS ******/
SELECT *
FROM [MyDB].[dbo].[LbShops] where biz_type = 1 and not exists (

SELECT shop_strid

FROM [MyDB].[dbo].[shop_sell] where shop_strid = [LbShops].shop_strid
)

 

速度很快

 

 posted on 2019-06-13 21:09  宝兰  阅读(122)  评论(0编辑  收藏  举报