That's quite an aggravating problem... Even if you use DISTINCT orderID, MySQL seems to consider that the last thing it does, so you get multiple rows matching the other table. (And the sums can get rather large!) The solution is somewhat convoluted:
You'll have to use two queries. Depending on which version of MySQL you have, you can create a temp table on the fly and insert the values from table one into it (ie, INSERT INTO tmp SELECT orderID, SUM(qty) FROM table1 GROUP BY orderID) This gives you one row per order. Then, join that table with table2. This way you won't be getting multiple matches for each order.
If this didn't make sense, see the docs at http://www.mysql.com/doc/e/x/example-Maximum-column-group-row.html for further explanation.
good luck!
Tim