I'm trying to get login and count that are in different tables but it doesn't work
Here is what I'm doing:
SELECT login AS "Login", COUNT(posted) AS "Nombre" FROM members, wallmsg;
I get the following error:
ERROR 1140 (42000): In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'sc_social.members.login'; this is incompatible with sql_mode=only_full_group_by
Is there another way to do this?