Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

about foregine

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


Please Help Members By Posting Answers For Below Questions

What is a trigger? How you can create a trigger in mysql?

943


table a has records 1,1,1,1 table b has records 1,1,1,1,1,1 what would be out if perform join for all cases

1434


Write a command to list all databases in mysql?

1077


What is the innodb in mysql?

1091


How do I tune a mysql query?

940


How will you export tables as an xml file in mysql?

967


What are procedures in mysql? Explain

1026


Why myisam is faster than innodb?

989


Write a query to select all teams that won either 1, 3, 5 or 7 games.

1436


What is the date format in mysql?

941


Is mysql a dbms?

943


What is max connection in mysql?

984


How do we delete a row in a table?

1034


How do I disable mysql?

992


Why we use mysql database?

981