sql存储过程中能使用子查询吗,如果要使用要怎么用

如题所述

第1个回答  2017-11-10

可以使用

 
create proc pr_procInfo
as
begin
 select * (select a from [表名1] where [表名1].id=[表名2].id) from [表名]
end

相似回答