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

Answers were Sorted based on User's Feedback



about foregine..

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

about foregine..

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

Post New Answer

More MySQL Interview Questions

How do I set user privileges in mysql?

0 Answers  


How do you create a new database in mysql?

0 Answers  


Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the total number of sold products

0 Answers  


How many columns can you create for an index?

0 Answers  


Can I use mariadb instead of mysql?

0 Answers  


How to control the max size of a heap table?

0 Answers  


What is difference between unix timestamp and mysql timestamp?

0 Answers  


What are triggers mysql?

0 Answers  


What are the non-standard sql commands supported by 'mysql'?

0 Answers  


How to start mysql server?

0 Answers  


What is a mysql view?

0 Answers  


What are the functions in mysql?

0 Answers  


Categories