Hello there, plz help me to comeout of this stuff.. I have table with the following fields..
one DB1 10 5 5 two DB2 11 3 8 one DB1 19 8 11
one DB1 29 16 13
can any one help me how to do this stuff Thanx in advance..
You'll need to use the SUM() and the GROUP BY statements.
i.e. select user, project, sum(pagesadded), sum(deleted), sum(total) from tablename group by user,project