select count(distinct a) from (select 起点 as a from tb union all select 终点 as a from tb) as t
始点名 union all 终点名,最后再distinct。是要这样?
34,587
社区成员
254,588
社区内容
加载中
试试用AI创作助手写篇文章吧