about foregine
Answers were Sorted based on User's Feedback
Answer / vishal
foreign key is the key reference of primary key in first
table suppose u have two table emp and dept in both there is
deptid than we make deptid in dept table as foreign key and
on we add dept in the dept table only when there is entry in
emp table and delete from emp only when there is no
corresponding entry in dept table
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / malli
foregine key is normal key of first(base) table. in
second(child)table it is primary key which is referenced by
the first(base) table.
Is This Answer Correct ? | 1 Yes | 0 No |
How do I connect to a mysql database?
Explain the difference between FLOAT, DOUBLE and REAL.
What language is mysql written in?
What is difference between mysql and mariadb?
what is database black box testing? : Mysql dba
How to set mysql variable in php?
what is the difference between the nvl function, ifnull function, and the isnull function? : Mysql dba
What sql does mysql use?
What is the datatype of image in mysql?
What are the three types of queries?
Where is mysql password stored?
How to use in conditions?