select name ,population from bbc where name='France' 
union all
select name ,population from bbc where name='Germany'
union all
select name ,population from bbc where name='Italy'

显示结果

SQL 把查出来的信息整合为一张表

其中关键字为:union all ,它可以把查出的信息归到下一行。

相关文章:

  • 2022-12-23
  • 2022-01-27
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-10-29
  • 2021-06-19
  • 2021-10-17
  • 2021-06-06
相关资源
相似解决方案