问题遇到的现象和发生背景
指定 操作员姓名 。查询过程与第一个查询相同
问题相关代码,请勿粘贴截图
create procedure pro_funcnam(in name char(16))
begin
select T_func_item.func_name
from T_user inner join Relationship_2
on T_user.user_id = Relationship_2.user_id
inner join Relationship_1
on Relationship_2.func_role_id = Relationship_1.func_role_id
inner join T_func_item
on Relationship_1.func_id = T_func_item.func_id
where T_user.user_name = T_func_item.func_name;
end;
call pro_funcnam('1');
运行结果及报错内容
我想要达到的结果
没有结果显示出来