Have tried also the following code but still unsuccessful :
SELECT mainQ.Event, mainQ.Invoice_Date, mainQ.ID_Invoice, mainQ.Quantity, mainQ.Unit_Price, (SELECT SUM(Quantity*Unit_Price)
FROM Table_Invoice
WHERE mainQ.Event>= Table_Invoice.Event AND mainQ.Invoice_Date >=...