这是sql
SELECT DISTINCT
t1.`name` team1_name,
t1.id team1_id,
t2.id team2_id,
t2.`name` team2_name,
sc.`name_en` sportCatname,
c.title championshipTitle,
e.date eventDate,
e.id eventId,
e.title,
FROM
`Event` e,
`SportCategory` sc,
`Championship` c,
`Team` t1,
`Team` t2
WHERE
e.top = 1
AND t1.id = e.team1ID
AND t2.id = e.team2ID
AND sc.id = c.sportCategoryID
也尝试使用 JOIN。没门。它返回正确的行,但在结果集中我有 2 次相同的行。我究竟做错了什么?