A表字段单独查询有3条记录返回B表字段单独查询有8条记录返回目前这两个表都是无主键和外键如果要组合起来的话,表的结构应该如何设计,模型如何搭建
1 回答
qq_花开花谢_0
TA贡献1835条经验 获得超7个赞
select a as a1,b as a2 ,c as a3 from t1 where xx=xxunion select b1 as a1,b2 as a2 ,b3 as a3 from t1 where xx=xx
添加回答
举报
0/150
提交
取消