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

what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / ck

Primary key is a key which will not allow any null values.
whereas unique key which will allows null value only once.

Foreign key is a key which values should match some values
in the primary key value.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?

1116


WHAT IS THE PURPOSE OF TESTING INTEGRITY OF THE UNIVERSE?

2251


what is ad-hoc access? what is the diff b/w managed query and ad-hoc access?

2312


What are the disadvantages of views in a database?

1057


What happens when shared and exclusive locks are applied on data item?

1037


what is the role of auditor in auditing data oriented applications?

2392


sparse lookup and where its options we find in OCI and db2?

2224


Is data lake a database?

969


issues involved in modeling and building data werahouses

1964


How default key is different from primary key?

1043


What is a trace file?

1074


What is a database example?

979


Explain file manager?

1008


Explain database partitioning. What is its importance?

1198


How many indexes can be created on a table?

1153