在内連接配接中on後面使用and、where的查詢結果相同,但是推薦使用and來代替where,可以減少臨時表的條數。 在左連接配接和右連接配接的時候,on後面使用and、where的查詢結果不相同,兩者不能等同。