连接是指两个表连接成一个查,
子查询是指先查好其中一个表中符合条件的记录,再和另一个表连在一起
子查询确实比连接高,你可以在上试试
一个一下就闪出来了,
一个还得等十几秒钟

解决方案 »

  1.   

    1.连接是两个结果集,在某种连接条件之下,取出两个结果集中的字段,可以是不同的两个表,也可是同一个表
    2.自查询是在一个查询所得的结果集中,再查找
      

  2.   

    那种效率高啊???高手解惑!!!
      

  3.   

    You will often find that you can achieve the same result with a subquery or a join. A join is often more efficient than a subquery (with the exception of when you want to remove duplicates, in which a subquery with NOT EXISTS is more efficient).copy from Microsoft SQL Server 2000 Unleashed