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

my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

1532


How to create a testing table with test data in ms sql server?

554


what is difference between view and Dip.

1995


Explain different types of index?

588


What is use of attribute hierarchy optimized state? : sql server analysis services, ssas

582






What do you mean by normalisation?

496


What is the default server name for sql server?

631


What is data compression? : sql server database administration

543


What are the database roles? : sql server security

555


Can group functions be mixed with non-group selection fields in ms sql server?

536


What is linked report?

87


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

482


Explain syntax for disabling triggers?

518


explain how to create a new schema in a database? : Sql server database administration

578


Explain what is dbcc?

593