【sql语句】通过关联表取对象_百度知道
最佳答案: select a.* from user a inner join relation b on a.id=b.member_user_id where b.manager_user_name=str
sql如何从两个关联的表中取出数据插入到另一个表?_百度知道
[专业]答案:第一种方法:通过三条SQL语句完成插入,即Insertinto前,使用Select项目名into:变量From另一张表whereID=你这里的ID,同理处理后面一个。第二种方法:直接在...更多关于【sql语句】通过关联表取对象的问题>>
sql语句 关联表查询_百度知道
最佳答案: select uid,user,userinfo, name, score from 表1 left join (select uid,name,max(score) from 表2 group by 表2.uid) b on 表1.uid = b...更多关于【sql语句】通过关联表取对象的问题>>