-1
Hi, good, I have a comic book with several students inserted, and in the exercise I need to average them and insert them in a new column. But when I do a test select before I update my command it puts together all the grades of all the students and takes an average of that. How do I get the average student per student ? my code : select (avg(P1)+avg(P2)) from notes; I’m not even sure how to research my problem.
Update notes set media = (((P1+P2)/2) , maybe a round is missing depending on the column type. Another solution may be to create a virtual column
– Motta
So you put an image of your code and/or error message. Although it seems like a good idea, it’s not! Understand the reasons here
– Sorack