我需要帮助....我不擅长 SQL 尝试应用 JOIN 时出现此错误:
[ Token line number = 1,Token line offset = 66,Token in error = JOIN ]
这是我的 SQL:
var query = "SELECT Team.TeamName, Fixtures.HomeTeam" +
"FROM Team" +
"LEFT JOIN Fixtures" +
"ON Team.TeamId=Fixtures.HomeTeam" +
"ORDER BY Team.TeamName";
Team Table 有 PK:TeamId Fixture Table 有 FK:HomeTeam 我正在使用 WebMatrix 2. Razor WebPages