select name from teacher where id = ?select name from student where id = ?怎么用一条sql语句写???不准传表名!!
2 回答
已采纳
cxxyjsj
TA贡献119条经验 获得超22个赞
select name from teacher where id = ?
union all
select name from student where id = ?
添加回答
举报
0/150
提交
取消