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 to delete duplicate rows?

623


How do I view views in sql server?

601


How to apply cascading referential integrity in place of triggers?

656


Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?

603


Explain trigger and its types?

702






What are security principals used in sql server 2005?

576


What is difference between views and tables?

555


Does table partitioning improve performance?

621


How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

1656


How does index makes search faster?

688


Explain the difference between delete,drop and truncate in SQL Server?

669


1.what is the diff between nolock optimizer and read uncommitted isolation? 2.what is the diff between revoke and deny? 3.what is percieved down time? 4.whether password protection are required for backups?if yes why?if no why? 5.what is fill factor? 6.what is cost analysis? 7.what is mean by piece meal restore? 8.what is 'rowguidcol'? 9.impersonate permission? 10.what is selectivity?

1727


How to deploy the Report?

97


What are joins in sql and what are the different types of joins?

628


What is collation?

795