http://dev.mysql.com/doc/refman /5.0/da/insert-select.html
For sag 1:
INSERT INTO TAB_STUDENT(name_student, id_teacher_fk)
SELECT 'Joe The Student', id_teacher
FROM TAB_TEACHER
WHERE name_teacher = 'Professor Jack'
LIMIT 1
Til case2 skal du blot lave 2 separate indsæt-sætninger