S
S
Sasha Pleshakov2016-06-20 13:41:29
SQL
Sasha Pleshakov, 2016-06-20 13:41:29

How to add data from key fields to intermediate table while adding data to other tables?

cc8ebb952776480298e6597cb501ab62.PNG
I need to insert data into these three tables, but in the Orders_Services table, all fields are key fields of other tables. How would I get them when pasting?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sasha Pleshakov, 2016-06-30
@mnepoh

To solve my problem, I used the DMax function. They told me here .

A
Andrey Shishkin, 2016-06-30
@compiler

Hang a trigger on Orders_Services.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question