SQLServer 2008中的交叉连接与内部连接
CROSS JOIN
INNER JOIN
?
交叉连接:
SELECT Movies.CustomerID, Movies.Movie, Customers.Age, Customers.Gender, Customers.[Education Level], Customers.[Internet Connection], Customers.[Marital Status], FROM Customers CROSS JOIN Movies
内连接:
SELECT Movies.CustomerID, Movies.Movie, Customers.Age, Customers.Gender, Customers.[Education Level], Customers.[Internet Connection], Customers.[Marital Status]FROM Customers INNER JOIN Movies ON Customers.CustomerID = Movies.CustomerID
桃花长相依
相关分类