I want to insert multiple rows in one query like this:
insert into EducationInfo (student_id, school_id)
values (
(select id
from STUDENT
where iin in (select distinct iinplt
from TEST_STUDENT
where id_university = 9)), 23421
)
Of course it is impossible. I know that I can do it like this:
values(1,23421),
values(2,23421)...
but as you can see I don't know ids from student_id column and there are too many ids. Is there any possible way to do it?