如何关联啊

ylei2002 2003-08-04 02:48:54
str="select role_id from oa_user_role where user_id='"&user_id&'""
str="select mod_id from oa_role_mod where role_id='"&role_id&"'"

str="select mod_name,classid,pass from oa_mod where mod_id='"&mod_id&"'"

str="select name from oa_type where classid='"&classid&"'"

怎么将4个SQL语句关联啊
...全文
26 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yl_yz 2003-08-04
  • 打赏
  • 举报
回复
select 表名.字段,... from a,b,c,d where 表关联条件 and 你的where条件

34,873

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧