what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / vinodkumar

Primary key:it is a key in which uniquely identify the
answer which is stored in the DBMS.A table contains a
primary key.

Foreign key:A key used in the table to represent the primary
key i.e when the primary key is used in a table of one topic
then the same name can be used as foreign key in another topic

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ase database?

755


what is data access layer?

2136


Can you tell any two advantages of stored procedures?

788


How to fetch/retrieve the data from hieranchical database and put it into the relational database? for e.g I want to extract the data from IMS DB2 database which is a hierarchical db and load that data into the relational database which is a SQL server.Are there any tools available for directing extracting data from hierarchical db and loading into the relational database (SQL server)?

1665


Explain various types of locks in a transaction? Which is better and why?

785


Explain database partitioning. What is its importance?

877


can any one tell me how i can start database testing mean what should be initial point and how i can write a query for listing page of any item thanks in advance

2293


Explain partial key?

831


What is the difference between primary and candidate key?

803


A lowest level of security by most RDBMS is

856


You are creating a Index on EMPNO column in the EMPLOYEE table. Which statement will you use?

964


Given a table Employee which has columns name and salary, write an SQL query to find the employee with the second highest salary.

823


What is a database lookup?

788


I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage

1348


HOW WE PASS PARM PARAMETERS TO CL VARIABLES FROM RPGLE?

2350