TblArea 字段 AreaId、 AreaName、AreaPid

select
     t1.AreaId 城市编号,
    t2.AreaName 城市名称,
    t1.AreaName 省份名称
from TblArea as t1
inner join TblArea as t2 on t1.AreaId=t2.AreaPid

自连接-省市问题

 

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-01-01
  • 2021-04-12
  • 2022-02-02
猜你喜欢
  • 2022-03-08
  • 2022-02-02
  • 2022-12-23
  • 2021-06-20
  • 2022-03-08
  • 2021-10-22
  • 2021-08-21
相关资源
相似解决方案