首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

關於效率的問題解决方法

2012-01-21 
關於效率的問題請問:select * from a,b where a.nob.no與select * from a inner join b on a.nob.no有何

關於效率的問題
請問:
select * from a,b where a.no=b.no

select * from a inner join b on a.no=b.no
有何區別?

另:
select * from a inner join b on a.no=b.no where a.isposted='y'

select * from a inner join b on a.no=b.no and a.isposted='y'
有何區別?

[解决办法]

SQL code
--請問: select * from a,b where a.no=b.no --與 select * from a inner join b on a.no=b.no --有何區別?
[解决办法]
对数据库服务器来说,似乎无不同,最后服务器会转为相同的程序来执行.

热点排行