Answers for "how to create foreign key in mariadb"

SQL
1

mariadb add foreign key

alter table group_a 
add constraint fk_b_in_a
foreign key(`b_id`) 
    references group_b(`b_id`)
    on delete set null
    on update set null;
Posted by: Guest on December-02-2020

Code answers related to "how to create foreign key in mariadb"

Code answers related to "SQL"

Browse Popular Code Answers by Language