Cytat(viking @ 17.12.2016, 11:20:24 )

Da się. Patrz dokumentacja mysql - create table.
ALTER TABLE `stypendium`
ADD FOREIGN KEY (`id_studenta`)
REFERENCES `student`(`id_studenta`)
Takie coś mi nie wchodzi ;< chce żeby w tabeli stypendium znalazło się id_studenta z tabeli student