FROM users_tags_keys_tmp_1
GROUP BY user_id) AS t
JOIN users_tags_keys_tmp_1 on t.user_id=users_tags_keys_tmp_1.user_id
ORDER BY cnt DESC, t.user_id, key_id) as t2
#1060 - Duplicate column name 'user_id'
Обсуждают сегодня