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

Explain candidate key, alternate key, and composite key?

750


Explain contrast amongst grouped and non-bunched records?

710


What are wait types?

736


Does a full backup include transaction log?

683


What is buffer cash and log cache in sql server?

799






Explain what is the use of custom fields in report?

689


How do you rebuild an identity column?

716


Explain various On-Delete options in a DB table. Which is the default option?

1135


What are subqueries in sql server? Explain its properties.

721


What is the difference between executequery () and executeupdate ()?

709


Explain how many types of relationship?

755


How do indexes help, types?

718


What are the steps you must follow to hide sql server instances?

703


Explain syntax for disabling triggers?

706


How will you make an attribute not process? : sql server analysis services, ssas

753