相关子查询和不相关子查询

相关子查询:code 好比class select t.id,t.name,t.pass from student t where 80<=(select f.score from f where f.id=t.id and f.name='xxx') 这就是1个相关子查询,能够理解为2层循环,要想执行内层的查询,须要先从外层查询到1个值出来。select 执行的顺序是,父查询1个值,子查询对这
相关文章
相关标签/搜索