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
提交
取消