I want to make trigger, which counts price from different tables.
It looks like this:
PART_PRICE(from PARTS) + TIME(from PARTS) * SALARY_PER_HOUR(from MECHANIC)
and the result should be saved in PRICE (from RESERVATIONS), the table RESERVATIONS contains ID_PART and ID_MECHANIC connected to PARTS & MECHANIC.
I really don't know how to do it, can you help me?