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

How to represent ENUMs and SETs internally?

1087


Where is mysql used?

948


What is table level locking in mysql?

851


How do I run a query in mysql?

896


What is dump in mysql?

825


Can mysql handle big data?

900


How triggers can be used in mysql?

957


How to use triggers to track changes in mysql?

824


What is row locking in mysql?

911


How do I setup a mysql database?

925


What is the default port for mysql and how it can change?

1014


Is mysql better than oracle?

877


What is the use of mysqli_fetch_assoc?

855


How to see table's field formats or description of table .

824


What is triggers and how it can be used in mysql?

902