SELECT caigou2.billorder, caigou2.goods, caigou2.Specification,
Sum(caigou2.count) AS countOfSum, caigou2.piece, caigou2.company
FROM caigou2 INNER JOIN caigou1 ON caigou2.billorder = caigou1.billorder
WHERE (((caigou1.date)='2000-01-20'))
GROUP BY caigou2.billorder, caigou2.goods, caigou2.Specification, caigou2.piece, caigou2.company
ORDER BY caigou2.billorder;