私はこのエラーを取得しています - 5 行目で「int 内部結合カテゴリを cat on int.categoryID = cat.categoryID GRO」として使用する正しい構文
私のSQL -
SELECT interest_desc, categoryID, category_desc, MAX(num_in_cat) AS num_in_cat
FROM
(
SELECT int.interest_desc, int.category_ID, cat.category_desc,
COUNT(categoryID) AS num_in_cat
FROM
interests as int
inner join categories as cat
on int.categoryID = cat.categoryID
GROUP BY int.interest_desc, int.categoryID
) subsel
GROUP BY interest_desc, categoryID"
ありがとう