SELECT(
select CategoryId,CategoryName from Category1
UNION
select CategoryId,CategoryName from Category2
UNION
select CategoryId,CategoryName from Category3
) AS t 
WHERE t.CategoryName='木门'怎么会出错?
SqlServer2005