"select table1.field1, table2.field1 from table table1, table table2 where table1.id=table2.parent"

就是给自身连接,比如说有先学和后学之分的,如学生选课,先修与后修是固定的,又如分类的层次状,总之就是列出列与列之间的关系而已!!

相关文章:

  • 2021-10-12
  • 2022-02-08
  • 2021-07-30
  • 2021-09-23
  • 2022-12-23
  • 2021-08-17
  • 2021-04-02
  • 2021-06-12
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2022-12-23
  • 2021-11-30
  • 2021-11-30
相关资源
相似解决方案