非常基本的sql问题。我不想将以下查询的输出显示为一个表而不是两个:
select players.name
from players
inner join teams
on players.team = teams.name
where teams.staysat = 'Ambassador'
and teams.checkin is not null;
select fans.name
from fans
where fans.staysat = 'Ambassador'
and teams.checkin is not null;
如何重写此文件,以便将球员姓名和球迷姓名打印为一个连续列表?