[sql] Calculating the SUM of (Quantity*Price) from 2 different tables