Mysql foriegn key/references | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Mysql foriegn key/references

A is a foreign key referencing B in table C. For this . Create table tab(A number (2) references C(B) ); Or Create table tab(A number (2 ) ,Foreign key(A) references C(B)); Which is better and whats it adva advantages?

30th Oct 2021, 4:32 AM
sid - avatar
1 Answer
+ 2
If you still haven't found the answer, look here It's easier than me retelling the MySQL documentation :)
14th Nov 2021, 4:25 PM
Alexey Kopyshev
Alexey Kopyshev - avatar