CREATE TABLE [dbo].[Lookup_Tables](
[Lookup_Id] [tinyint] NOT NULL,
[Table_Key] [nvarchar](10) NOT NULL,
[Table_Value] [nvarchar](50) NOT NULL,
[Table_Sequence] [smallint] NOT NULL,
[Set_As_Default] [nchar](1) NOT NULL,
[Active_Flag] [nchar](1) NOT NULL)如果想查询Lookup_Id的数量等于2的所有记录,我用的查询语句是:
select * from Lookup_Tables 
where  Lookup_Id 
in(
select lookup_Id 
from Lookup_Tables 
group by Lookup_Id 
having count(*)=2
)这种查询语句是不是效率比较低,请问有其他的好的查询语句吗?