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 can you find out which stored procedures are recompiling?

516


Which tcl commands are available on the sql server?

607


How do I run sql server 2014?

512


What are the difference between “where” and “having” clause in sql server?

587


What are the differences between lost updates and uncommitted dependencies?

545






Explain datetime2 data type in sal server 2008?

549


what is a correlated sub-query? : Sql server database administration

484


What is tempdb database? : SQL Server Architecture

608


Explain what are partitioned views and distributed partitioned views?

584


Explain what are the restrictions that views have to follow? : SQL Server Architecture

595


What are different types of subquery?

721


List the different types of collation sensitivities in sql server?

531


what kind of lan types do you know? : Sql server database administration

519


What is report subscription?

91


What is buffer cash and log cache in sql server?

593