SQL对同一张表多个查询,如何把显示结果合并

2025-01-01 02:00:10
推荐回答(4个)
回答1:

select aa “日期” form table group by aa
union
select bb “日期” form table group by bb

回答2:

select aa “日期”,bb "日期" form table

回答3:

不会,有答案了记得回复我一下,谢谢

回答4:

select a.*,B.* from table a,table b where a.ID=b.ID