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
How to delete duplicate rows?
How do I view views in sql server?
How to apply cascading referential integrity in place of triggers?
Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?
Explain trigger and its types?
What are security principals used in sql server 2005?
What is difference between views and tables?
Does table partitioning improve performance?
How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?
How does index makes search faster?
Explain the difference between delete,drop and truncate in SQL Server?
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?
How to deploy the Report?
What are joins in sql and what are the different types of joins?
What is collation?