Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sum mysql

//returns the total summed (non-NULL) value
SELECT SUM(working_hours) AS "Total working hours" FROM employee;   
 
PREVIOUS NEXT
Tagged: #sum #mysql
ADD COMMENT
Topic
Name
4+8 =