在内连接中on后面使用and、where的查询结果相同,但是推荐使用and来代替where,可以减少临时表的条数。
在左连接和右连接的时候,on后面使用and、where的查询结果不相同,两者不能等同。