ya i know about those functions, the problem i am having is when i use more than one table. here is my query: "SELECT count(tbl1.serial) AS num_bills, sum(tbl1.denom) AS sum_bills, count(tb2.user_id) AS num_users FROM tbl1, tbl2 ". if i query the db three times i get the correct count of each column, or if i query each table seperatly i get the correct value. the problem arrises when i use the above query, i get much larger values than i should have. the values for these columns are: count(tbl1.serial)=9, sum(tbl1.denom)=118, count(tbl2.user_id)=9. please help :-)