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...

Is it possible to have more than one row on the same table
with the same foreign key?

Answer Posted / pradeeshkumar

Yes, it's possible.
A foreign key in a table can have duplicate values.
For example, One or more employees can belong to same
project.EMPLOYEE_ID is the ptimary key of the Employee
table and PROJECT_ID is a foreign key that references
another table(Project).

EMPLOYEE_ID EMPLOYEE_NAME PROJECT_ID
----------------------------------------
0001 SAM DEX01
0002 MARK DEX01
0003 JUKE MKX02

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the data type of the surrogate key?

1072


How do we design a universe?

989


Explain meta data?

1108


Explain the difference between oltp and olap?

1175


Explain a linked cube?

995


What is the difference between view materialized view and view?

1119


How can you implement many relations in star schema model?

1050


How would you write a simple stored procedure in tsql which takes a movie_id and returns all the directors associated with it?

1053


How do you define data block size?

1101


Explain difference between e-r modeling and dimentional modeling?

1036


Explain what is a cube in data warehousing concept?

1030


Explain how to export mappings to the production environment?

1024


What are the difference between snow flake and star schema? What are situations where snow flake schema is better than star schema to use and when the oppositeis true?

1113


Explain what are the advantages and disadvantages of reporting directly against the database?

1054


How can we load the time dimension?

1250