The problem is: Now we need to sum up all the data of the num field in the statistical table and output the total value.
Statistics can be executed using the SQL statement select sum(num) from table, but the problem is that I don’t know how to read the final result? ? ? Is there any great advice? ?
Try setting an alias for the result and you will be able to check it out
The one upstairs should be fine