I'm getting an error when trying to run this query:
UPDATE tbl1, tbl2 SET `tb1`.field=SUM(tbl2.grade) WHERE tbl2.word=tbl1.word
This is the error: #1111 - Invalid use of group function
I basically trying to get the sum of a field from tbl2 and insert it into tbl1