Answer Posted / 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 |
Post New Answer View All Answers
What is difference between unix timestamp and mysql timestamp?
What are the different data types in mysql?
What mysql -u john -p command does?
What are the critical issues you have resolved in your company
Explain about the architecture of MYSQL?
How do I setup mysql?
How do you backup a database in mysql?
Why do we need mysql?
How can you retrieve a portion of any column value by using a select query?
What is a simple query?
Is mysql and sql are same?
What are the different types of triggers in mysql?
How to run a sql statement?
Which statement is used to delete a table in MySQL.
What is int mysql?