Hola David,
Mira a ver si te sirve lo siguiente:
Código SQL
[-]select sum(F.importe) TOTAL_FACTURAS, f.* , O.* from facturas F
left join obras O on (F.CodObra = O.Codigo)
where O.Cliente = :cliente
De todas formas podrías detallar más sobre lo que quieres.
Un saludo.