what are the joins,primary key,foriegn key, candidate key,
super key and expain them?

Answer Posted / vikash kr pandey

1> JOIN:- JOIN IS USED TO VIEW AND RETRIEVE DATA FROM MULTIPLE TABLE OR RELATED TABLES IN A SINGLE RESULT SET.

2> PRIMARY KEY:-PRIMARY KEY IS A SET OF COLUMNS WHOSE VALUES UNIQUELY IDENTIFY ALL THE ROWS IN A TABLE AND CAN NOT CONTAIN NULL VALUES.

3> FORIEGN KEY:-A COLUMN IN ONE TABLE WHOSE VALUES MATCH THE PRIMARY KEY IN SOME OTHER TABLE IS CALLED A FORIEGN KEY.

4> CANDIDATE KEY:-ANY ATTRIBUTE THAT IS UNIQUELY IDENTIFIES A ROW IN A TABLE IS A CANDIDATE FOR THE PRIMARY KEY. THIS TYPE OF ATTRIBUTE IS CALLED CANDIDATE KEY.

5> SUPER KEY:-THE SUPERTYPE IS DESCRIBED BY ATTRIBUTES THAT BELONGS TO ALL SUBTYPES AND CONNECTED TO THE RELATIONSHIP WITH A LINE CONTAINING A CROSSBAR.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to send a ssrs report from ssis?

143


What is difference between stored procedure and user defined function?

633


What is the process of normalising?

689


What is PROJECTION Operation?

683


Is candidate a key?

621






What are the types of resultset?

626


Describe and explain about SQL native client?

691


How global temporary tables are represented and its scope?

634


What triggers long term care?

638


What is difference between view and materialized view?

611


What is cursors? And what are the different types of cursor?

649


What should be the fill factor for indexes created on tables? : sql server database administration

718


Can you explain different types of locks in sql server?

613


What does ss stand for sexually?

682


Explain different types of Normalization.

685