zoukankan      html  css  js  c++  java
  • 父子查询

    复杂的查询:

    select * from 学生表 where 所属班级编号=(select 班级编号 from 班级表 where 条件)

    主句

    select * from 学生表 where 所属班级编号=()

    子句:select 班级编号 from 班级表 where 条件

  • 相关阅读:
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
  • 原文地址:https://www.cnblogs.com/newrohlzy/p/8783694.html
Copyright © 2011-2022 走看看