I have the following query in Base:
SELECT field_name1, field_name2, .,.,.
FROM table_a
INNER JOIN table_b
ON table_a.field_name1 = table_b.field_name1
INNER JOIN table_c
ON table_a.field_name2 = table_c.field_name2
INNER JOIN table_d
ON table_d.field_name1 = table_b.field_name2
LEFT JOIN table_e
ON table_e.field_name1 = table_c.field_name2 AND
table_e.field_name2 = table_b.field_name1
When I delete a row from table_a the Base parser also deletes the row from table_e. Adding or modifying a row is ok it is only a problem when it comes to deleting a row. Here is the actual code:
FROM "Futures_Orders"
INNER JOIN "Contract_Details"
ON "Contract_Details"."Symbol" = "Futures_Orders"."Symbol"
INNER JOIN "Broker"
ON "Broker"."Broker" = "Futures_Orders"."Broker"
INNER JOIN "FX_Rates"
ON "FX_Rates"."Code" = "Contract_Details"."Currency"
LEFT JOIN "Broker_Commissions"
ON "Broker_Commissions"."Broker" = "Broker"."Broker" AND
"Broker_Commissions"."Symbol" = "Contract_Details"."Symbol"
In addition to the row from futures_orders a row from Broker_Commissions is deleted.