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

Answer Posted / monal

Joins: Joins are used to retrieve data from two or more
tables when there is either matching row exist in another
table or not.

Primary Key: Primary key ensures uniqueness of data in a
table so that no two rows in the table can have same value.

Foreign Key: Foreign key ensures that data entered in a
column must be checked with data already entered in the
primary key column of another table.

Candidate Key: In some tables there is possibility that more
than one column can carry unique values to make sure
uniqueness of data all across the table. one of those key
column becomes Primary key and other column become candidate
key.

Is This Answer Correct ?    39 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start sql server 2017?

698


What is the purpose of indexing?

785


List some of the rules that apply to creating and using a ‘view’

673


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

854


Suggest a method of joining two tables.

809






How do I view views in sql server?

694


What is the maximum size per database for sql server express?

742


What new data source types were added in ssrs 2014?

130


What is built-in/administrator?

728


What the different types of Replication and why are they used?

721


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

742


Explain transaction server distributed transaction?

675


What is difference between equi join and inner join?

649


What are the limitations/drawbacks or ssrs 2008 r2?

105


Can we do dml on views?

727