这两个sql qry之间的区别是什么? [英] What is the diffrence between these two sql qry?

查看:60
本文介绍了这两个sql qry之间的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我差异

please tell me the diff

select supplier.sup_id from supplier,product where supplier.sup_id=product.sup_id
order by supplier.sup_id

select supplier.sup_id from supplier,product where supplier join product  
   supplier.sup_id=product.sup_id
order by supplier.sup_id

推荐答案

在性能方面,它们是完全相同的(至少在SQL Server中是这样),但是请注意,它们已弃用了隐式外部联接语法."

检查以下线程以了解更多详细信息.

http://stackoverflow.com/questions/5273942/mysql-inner-join-vs-where [ ^ ]
"Performance wise, they are exactly the same (at least in SQL Server) but be aware that they are deprecating the implicit outer join syntax."

check the following thread for more details.

http://stackoverflow.com/questions/5273942/mysql-inner-join-vs-where[^]


这篇关于这两个sql qry之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆